LFCS 40 🐧 Switching Users — su
The su command starts a new shell as a different user. It is the traditional way to become root, or to become any other account on the system, and it is one of the first commands a Linux administrator learns. It differs from sudo in a fundamental way: sudo runs a single command with elevated…