Typing sudo su is like typing cat file | cat. If you want a non-login shell as root, just use sudo -s. If you want a login shell, sudo -i. To switch to a non-root user, use sudo -u <user> with -i or -s. There's no need to run two different superuser-elevation programs chained back to back.
Last active
August 6, 2025 17:01
-
-
Save Brottweiler/6ecddb7aa603b217246a046ccc0258b9 to your computer and use it in GitHub Desktop.
sudo su
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment