September 2000
Beginner
1312 pages
33h 47m
English
su [-][username [arg...]]
Use the su (switch user) command to become another user without logging off. The default user name is root (superuser).
To use su, you must supply the appropriate password unless you are already root. If the password is correct, su creates a new shell process that has the real and effective user ID, group IDs, and supplementary group list set to those of the specified username. The new shell is the shell specified in the shell field of username's password file entry (see passwd(4)). If no shell is specified, /usr/bin/sh is used (see sh(1)). To return to normal user ID privileges, type an end-of-file character (Control-D) to exit the new shell.
Any additional ...
Read now
Unlock full access