'\" t .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot .\" 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