summaryrefslogtreecommitdiff
path: root/man/zh_CN/man5/suauth.5
diff options
context:
space:
mode:
Diffstat (limited to 'man/zh_CN/man5/suauth.5')
-rw-r--r--man/zh_CN/man5/suauth.535
1 files changed, 20 insertions, 15 deletions
diff --git a/man/zh_CN/man5/suauth.5 b/man/zh_CN/man5/suauth.5
index dd5b3425..8f522680 100644
--- a/man/zh_CN/man5/suauth.5
+++ b/man/zh_CN/man5/suauth.5
@@ -2,12 +2,12 @@
.\" Title: suauth
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 2019-06-13
+.\" Date: 2019-12-01
.\" Manual: 文件格式和转化
-.\" Source: shadow-utils 4.7
+.\" Source: shadow-utils 4.8
.\" Language: Chinese Simplified
.\"
-.TH "SUAUTH" "5" "2019-06-13" "shadow\-utils 4\&.7" "文件格式和转化"
+.TH "SUAUTH" "5" "2019-12-01" "shadow\-utils 4\&.8" "文件格式和转化"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -34,8 +34,9 @@ suauth \- 详细的 su 控制文件
\fB/etc/suauth\fR
.SH "描述"
.PP
-执行 su 命令时,总是根据
-/etc/suauth,可以更改 su 命令的行为,规则是:
+The file
+/etc/suauth
+is referenced whenever the su command is called\&. It can change the behaviour of the su command, based upon:
.sp
.if n \{\
.RS 4
@@ -63,9 +64,10 @@ suauth \- 详细的 su 控制文件
.RE
.\}
.PP
-此处的 to\-id 可以是:\fIALL\fR,逗号(,) 分隔的用户名列表或者
+Where to\-id is either the word
+\fIALL\fR, a list of usernames delimited by "," or the words
\fIALL EXCEPT\fR
-后跟逗号分隔的用户名列表。
+followed by a list of usernames delimited by ","\&.
.PP
from\-id is formatted the same as to\-id except the extra word
\fIGROUP\fR
@@ -101,19 +103,22 @@ su 尝试自动成功,而且不询问密码。
.RS 4
.\}
.nf
- # 示例 /etc/suauth 文件
+ # sample /etc/suauth file
#
- # 有两个用户可以使用自己的密码 su 成 root
+ # A couple of privileged usernames may
+ # su to root with their own password\&.
#
root:chris,birddog:OWNPASS
#
- # 任何其他人都不能 su 成 root,除非在 wheel 组中。
- # BSD 就是这样实现这个功能的。
+ # Anyone else may not su to root unless in
+ # group wheel\&. This is how BSD does things\&.
#
root:ALL EXCEPT GROUP wheel:DENY
#
- # 或许 terry 和 birddog 是属于同一个人的账户
- # 两个账户直接互相 su,不需要密码
+ # Perhaps terry and birddog are accounts
+ # owned by the same person\&.
+ # Access can be arranged between them
+ # with no password\&.
#
terry:birddog:NOPASS
birddog:terry:NOPASS
@@ -133,9 +138,9 @@ su 尝试自动成功,而且不询问密码。
可能会有很多潜在问题。文件解析器尤其不能容忍语法错误,不能有无意义的空白符(除了行首和行尾),并且使用特定的标记分割不同的事情。
.SH "DIAGNOSTICS"
.PP
-此文件的解析错误会使用
+An error parsing the file is reported using
\fBsyslogd\fR(8)
-作为 AUTH 中的 ERR 级别报告。
+as level ERR on facility AUTH\&.
.SH "参见"
.PP
\fBsu\fR(1)\&.