.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)su.1 6.3 (Berkeley) %G%
su \- substitute user id temporarily
requests the password for the specified
and invokes the login's shell without changing the current directory.
The user environment is unchanged except for HOME and SHELL, which are
taken from the password file for the user being substituted (see
The new user ID stays in force until the shell exits.
is unspecified, the super-user, ``root'' is assumed.
Only users in the ``wheel'' group (group 0) can
to ``root'', even with the root password.
To remind the super-user of his responsibilities, by default,
the shell substitutes ``#'' for its usual prompt.
option simulates a full login.
sh(1), csh(1), environ(7)