summaryrefslogtreecommitdiff
path: root/man/zh_CN/man5/porttime.5
diff options
context:
space:
mode:
Diffstat (limited to 'man/zh_CN/man5/porttime.5')
-rw-r--r--man/zh_CN/man5/porttime.543
1 files changed, 23 insertions, 20 deletions
diff --git a/man/zh_CN/man5/porttime.5 b/man/zh_CN/man5/porttime.5
index a58256cc..841153b1 100644
--- a/man/zh_CN/man5/porttime.5
+++ b/man/zh_CN/man5/porttime.5
@@ -2,12 +2,12 @@
.\" Title: porttime
.\" Author: Julianne Frances Haugh
.\" 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 "PORTTIME" "5" "2019-06-13" "shadow\-utils 4\&.7" "文件格式和转化"
+.TH "PORTTIME" "5" "2019-12-01" "shadow\-utils 4\&.8" "文件格式和转化"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -32,39 +32,41 @@ porttime \- 端口访问时间文件
.SH "描述"
.PP
\fIporttime\fR
-包含一个 tty 设备、用户名和允许登录时间的列表。
+contains a list of tty devices, user names, and permitted login times\&.
.PP
每项包含三个由冒号分隔的字段。第一个字段是逗号分隔的 tty 设备列表,或者星号表示匹配所有终端。第二个字段是逗号分隔的用户名列表,或者星号表示匹配所有用户名。第三个字段是逗号分隔的访问许可时间。
.PP
-每条访问时间包含一周的 0 天或多天,缩写为
+Each access time entry consists of zero or more days of the week, abbreviated
\fISu\fR,
\fIMo\fR,
\fITu\fR,
\fIWe\fR,
\fITh\fR,
-\fIFr\fR
-和
-\fISa\fR,随后是连字符分隔的一组时间,缩写
+\fIFr\fR, and
+\fISa\fR, followed by a pair of times separated by a hyphen\&. The abbreviation
\fIWk\fR
-可以用于表示周一到周五,\fIAl\fR
-可以用于表示没一天。如果没有制定周几,将会假定为
-\fIAl\fR。
+may be used to represent Monday thru Friday, and
+\fIAl\fR
+may be used to indicate every day\&. If no days are given,
+\fIAl\fR
+is assumed\&.
.SH "示例"
.PP
-下面的条目允许在工作日的上午九点到下午五点在任何端口上访问用户
-\fBjfh\fR。
+The following entry allows access to user
+\fBjfh\fR
+on every port during weekdays from 9am to 5pm\&.
.PP
*:jfh:Wk0900\-1700
.PP
-下面这条任何时间,只允许用户
+The following entries allow access only to the users
\fIroot\fR
-和
+and
\fIoper\fR
-在
+on
/dev/console
-登录。这也是说
+at any time\&. This illustrates how the
/etc/porttime
-文件是一个访问时间的有序列表。任何匹配第二条的其他用户都不会被允许访问。
+file is an ordered list of access times\&. Any other user would match the second entry which does not permit access at any time\&.
.sp
.if n \{\
.RS 4
@@ -78,8 +80,9 @@ porttime \- 端口访问时间文件
.RE
.\}
.PP
-如下项允许,在非工作时间在任何端口上使用用户
-\fIgames\fR。
+The following entry allows access for the user
+\fIgames\fR
+on any port during non\-working hours\&.
.PP
*:games:Wk1700\-0900,SaSu0000\-2400
.SH "文件"