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