切換用戶訪問
商品描述
改變有效用戶ID和組ID的 USER.
-, -l, --login
make the shell a login shell
-c, --commmand=COMMAND
pass a single COMMAND to the shell with -c
-f, --fast
pass -f to the shell (for csh or tcsh)
-m, --preserve-environment
do not reset environment variables
-p
same as -m
-s, --shell=SHELL
run SHELL if /etc/shells allows it
--help
display this help and exit
--version
output version information and exit
僅僅意味著 -l。 給定的用戶如果沒有,假設根。