DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using a secure system

Using su to access another account

The su(C) command allows you to become another user without logging off. su cannot be used to simply assume the login of another user; instead, su can be used under four circumstances:


To use su, the appropriate password must be supplied (unless you are already root). If the password is correct, su executes a new shell with the real and effective user ID's set to that of the specified user. (If the system is running under tight security, the login user ID is unchanged; otherwise that, too, is changed to the ID of the specified user.)
Next topic: Using commands on a trusted system
Previous topic: Other security tips

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003