Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ su(1) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

sh(1)

passwd(5yp)

environ(7)

su(1)

NAME

su − substitute a user ID

SYNTAX

su [userid]

DESCRIPTION

The su command requests the password of the specified userid. If the correct password is given, su changes to that userid without changing the current directory.  The user environment is unchanged except for HOME and SHELL which are taken from the password file entry for userid.  The shell that is run is also taken from the password file entry for userid.  The new user ID stays in force until the shell exits. 

If no userid is specified, ‘root’ is assumed.  To remind the superuser of his responsibilities, the shell substitutes ‘#’ for its usual prompt. 

OPTIONS

−f
Prevents csh() from executing the .cshrc file, making su start up faster.

−Simulates a full login. 

FILES

/usr/adm/sulog
Log file of anyone who became root, with a date mark. 

SEE ALSO

csh(1), sh(1), passwd(5yp), environ(7)

Commands

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026