Bell 32V development
[unix-history] / usr / man / man1 / su.1
CommitLineData
c1030a02
TL
1.TH SU 1
2.SH NAME
3su \- substitute user id temporarily
4.SH SYNOPSIS
5.B su
6[ userid ]
7.SH DESCRIPTION
8.I Su
9demands the password of the specified
10.I userid,
11and if it is given,
12changes to that
13.I userid
14and invokes the Shell
15.IR sh (1)
16without changing the current directory or the
17user environment (see
18.IR environ (5)).
19The new user ID stays in force until the Shell exits.
20.PP
21If no
22.I userid
23is specified, `root' is assumed.
24To remind the super-user of his responsibilities,
25the Shell substitutes `#' for its usual prompt.
26.SH "SEE ALSO"
27sh(1)