Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

csh(1)

SU(1)  —  User’s Manual — Commands

NAME

su − substitute user id temporarily

SYNOPSIS

su [ userid ]

DESCRIPTION

Su demands the password of the specified userid, and,if it is given, changes to that userid and invokes the shell specified in the password file for that userid without changing the current directory.  The user environment is thus unchanged except for HOME and SHELL, which are taken from the password file for the user being substituted (see environ(5)). The new user ID stays in force until the shell exits.

If no userid is specified, ‘root’ is assumed.  To remind the super-user of his responsibilities, the Shell substitutes ‘#’ for its usual prompt. 

SEE ALSO

sh(1), csh(1)

Sun System Release 0.3  —  16 March 1983

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