SU.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH SU 1
- .SH NAME
- su - temporarily log in as superuser or another user
- .SH SYNOPSIS
- fBsufR [fInamefR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "su " "Become superuser"
- .EX "su ast" "Become fIastfR"
- .SH DESCRIPTION
- .PP
- .I Su
- can be used to temporarily login as another user.
- It prompts for the superuser password.
- If the correct password is entered,
- .I su
- creates a shell with the desired uid.
- If no name is specified, fIrootfR is assumed.
- To exit the temporary shell, type CTRL-D.
- When memory is tight, it is better to become superuser by logging out and
- then logging in again as fIrootfR, rather than using fIsufR since the
- latter creates an extra shell in memory. Any user with a zero group id need
- not type a password. This makes life easier for the system administrator.
- .SH "SEE ALSO"
- .BR login (1).