su man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=su&af=0&tf=2&of=Ultrix

su(1)									 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	 supe‐
       ruser  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)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net