UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
COMMAND
GO
su
SYNTAX
su [ - ] [name [ arg]]
FUNCTION
su lets one to become a superuser
or another user without logging off.
REMARKS
su without an argument will log you in as root.
su with the - name argument will create
the entire environment of the other user as well as giving
you their privileges.
Let us look at the mechanics of the su command.
To assume the privileges and the environment of
the user paul the su command would be:
su - paul
if you were not superuser when you executed the command and
if Paul had a password you'd be prompted for it.
If you want to have root privileges, type su and
wait for the password prompt. If there are several people that
use your system, you should have a password for the superuser.
Let try the su command...
ACC1
What is the command to assume the privileges
and the environment of the user mdcti
whose password is surprise?
$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type su - mdcti
Please type su - mdcti
I guess I must type this for you:
$
FORGET1
$ su - mdcti
Password:
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type surprise
I will help you this time.
Sorry
FORGET2
$ su - mdcti
Observe the result on the terminal!
$