blob: 4481346b2a4e928bfd61a7af974f9345da56b16d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
'\" t
.\" Title: logoutd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 2022-11-08
.\" Manual: 系统管理命令
.\" Source: shadow-utils 4.13
.\" Language: Chinese Simplified
.\"
.TH "LOGOUTD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "名称"
logoutd \- 强制登录时间限制
.SH "大纲"
.HP \w'\fBlogoutd\fR\ 'u
\fBlogoutd\fR
.SH "描述"
.PP
\fBlogoutd\fR
enforces the login time and port restrictions specified in
/etc/porttime\&.
\fBlogoutd\fR
should be started from
/etc/rc\&. The
/var/run/utmp
file is scanned periodically and each user name is checked to see if the named user is permitted on the named port at the current time\&. Any login session which is violating the restrictions in
/etc/porttime
is terminated\&.
.SH "文件"
.PP
/etc/porttime
.RS 4
包含了端口访问信息的文件。
.RE
.PP
/var/run/utmp
.RS 4
当前登录会话的列表。
.RE
|