.\" 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.1 (Berkeley) %G%
su \- substitute user id temporarily
[ \-f ] [ \- ] [ userid ]
demands the password of the specified
without changing the current directory.
is unchanged except for HOME and SHELL,
which are taken from the password file
for the user being substituted
The new user ID stays in force until the Shell exits.
is specified, `root' is assumed.
To remind the super-user of his responsibilities,
the Shell substitutes `#' for its usual prompt.
from executing the .cshrc file; thus making
option simulates a full login.
Local administrative rules cause restrictions to
to `root', even with the root password.
These rules vary from site to site.