su.1
来自「minix操作系统最新版本(3.1.1)的源代码」· 1 代码 · 共 59 行
1
59 行
.TH SU 1.SH NAMEsu \- temporary become superuser or another user.SH SYNOPSIS.B su.RB [ \- [ e ]].RI [ user.RI [ shell-arguments " ...]]".SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp...B Sucan be used to temporarily run a shell under the identity of the superuseror another user. Unless the caller is a member of the operator group, oneis prompted for the password of the user-to-be. Calls that need a passwordare logged, whether they succeed or not. The default user is.BR root .Further arguments are handed to the shell. By default the shell started isthe shell of the invoker, and the environment is passed on as is..PPThe activities of.B suare logged through.BR syslog (3)under Minix-vmd..SH OPTIONS.TP.B \-Constructs a new environment consisting of the.BR PATH ,.BR USER ,.BR LOGNAME ,.BR HOME ,.BR SHELL ,.BR TERM ,.BR TERMCAP ,and.BR TZvariables. The environment is the same as on a normal login, except that.BR TERM ,.B TERMCAPand.B TZare copied from the current environment if set. The current workingdirectory is changed to the user home directory, the shell of the user-to-beis run, and it is started as a login shell, with the first character a minussign..TP.B \-eLike above, but the shell is started normally, not as a login shell..SH "SEE ALSO".BR sh (1),.BR login (1),.BR syslog (3)..SH AUTHORKees J. Bot <kjb@cs.vu.nl>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?