Query: su
OS: ultrix
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
su(1) General Commands Manual su(1) Name su - substitute a user ID Syntax su [username] su - [username] su -f [username] Description The command requests the password of the specified username. If the correct password is given, changes to that username without changing the current directory. The user environment is unchanged except for HOME and SHELL which are taken from the password file entry for user- name. The shell that is run is also taken from the password file entry for username. The new user ID stays in force until the shell exits. If no username is specified, `root' is assumed. To remind the superuser of his responsibilities, the shell substitutes `#' for its usual prompt. Options -f Prevents from executing the .cshrc file, making start up faster. - Simulates a full login. Diagnostics Sorry An invalid password was supplied for the specified username. Unknown login: username The specified username was not found in the passwd database. No directory The home directory for the username is not accessible at this time (only with ``-'' argument). No shell The shell specified in the passwd database entry for username could not be executed. Kerberos initialization failure Consult your system administrator. If enhanced security features are enabled the following error messages are also possible: Requires secure terminal Attempt to su to UID 0 on a line that is not marked secure in User's password has expired Access is denied because the password for username is expired. This account is disabled Access is denied because the auth entry corresponding to username is marked disabled. Files Log file of anyone who became root, with a date mark. See Also csh(1), sh(1), passwd(5yp), environ(7), edauth(8) Security Guide for Administrators Security Guide for Users su(1)
Related Man Pages |
---|
dsenableroot(8) - mojave |
getauth(8) - ultrix |
setauth(8) - ultrix |
dsenableroot(8) - osx |
newkey(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Help needed in shell script for FTPS |
Users Not Logged in |
awk problem |
Find/replace in file from another file. |
Id command does not return correct username |