1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH SU "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 su \- run a shell with substitute user and group IDs
7 [\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...]
9 .\" Add any additional description here
11 Change the effective user id and group id to that of USER.
13 \-, \fB\-l\fR, \fB\-\-login\fR
14 make the shell a login shell
16 \fB\-c\fR, \fB\-\-command\fR=\fICOMMAND\fR
17 pass a single COMMAND to the shell with \fB\-c\fR
19 \fB\-f\fR, \fB\-\-fast\fR
20 pass \fB\-f\fR to the shell (for csh or tcsh)
22 \fB\-m\fR, \fB\-\-preserve\-environment\fR
23 do not reset environment variables
28 \fB\-s\fR, \fB\-\-shell\fR=\fISHELL\fR
29 run SHELL if /etc/shells allows it
32 display this help and exit
35 output version information and exit
37 A mere \- implies \fB\-l\fR. If USER not given, assume root.
39 Written by David MacKenzie.
41 Report bugs to <bug\-coreutils@gnu.org>.
43 Copyright \(co 2007 Free Software Foundation, Inc.
45 This is free software. You may redistribute copies of it under the terms of
46 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
47 There is NO WARRANTY, to the extent permitted by law.
49 The full documentation for
51 is maintained as a Texinfo manual. If the
55 programs are properly installed at your site, the command
59 should give you access to the complete manual.