File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man1 / su.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH SU 1 "16 November 1979"
.UC
.SH NAME
su \- substitute user id temporarily
.SH SYNOPSIS
.B su
[ userid ]
.SH DESCRIPTION
.I Su
demands the password of the specified
.I userid,
and if it is given,
changes to that 
.I userid
and invokes the Shell
.IR sh (1)
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
.IR environ (7)).
The new user ID stays in force until the Shell exits.
.PP
If no 
.I userid
is specified, `root' is assumed.
To remind the super-user of his responsibilities,
the Shell substitutes `#' for its usual prompt.
.SH "SEE ALSO"
sh(1)
.SH BUGS
Local administrative rules cause restrictions to
be placed on who can
.I su
to `root', even with the root password.
These rules vary from site to site.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.