1SU(1)                            User Commands                           SU(1)
2
3
4

NAME

6       su - run a shell with substitute user and group IDs
7

SYNOPSIS

9       su [OPTION]... [-] [USER [ARG]...]
10

DESCRIPTION

12       Change the effective user id and group id to that of USER.
13
14       -, -l, --login
15              make the shell a login shell
16
17       -c, --command=COMMAND
18              pass a single COMMAND to the shell with -c
19
20       --session-command=COMMAND
21              pass  a  single COMMAND to the shell with -c and do not create a
22              new session
23
24       -f, --fast
25              pass -f to the shell (for csh or tcsh)
26
27       -m, --preserve-environment
28              do not reset environment variables
29
30       -p     same as -m
31
32       -s, --shell=SHELL
33              run SHELL if /etc/shells allows it
34
35       --help display this help and exit
36
37       --version
38              output version information and exit
39
40       A mere - implies -l.   If USER not given, assume root.
41

AUTHOR

43       Written by David MacKenzie.
44

REPORTING BUGS

46       Report su bugs to bug-coreutils@gnu.org
47       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
48       General help using GNU software: <http://www.gnu.org/gethelp/>
49       Report su translation bugs to <http://translationproject.org/team/>
50
52       Copyright © 2010 Free Software Foundation, Inc.   License  GPLv3+:  GNU
53       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
54       This  is  free  software:  you  are free to change and redistribute it.
55       There is NO WARRANTY, to the extent permitted by law.
56

SEE ALSO

58       The full documentation for su is maintained as a  Texinfo  manual.   If
59       the  info and su programs are properly installed at your site, the com‐
60       mand
61
62              info coreutils 'su invocation'
63
64       should give you access to the complete manual.
65
66
67
68GNU coreutils 8.5                November 2010                           SU(1)
Impressum