'\" t .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2022-01-22 .\" Manual: 用户命令 .\" Source: shadow-utils 4.11.1 .\" Language: Chinese Simplified .\" .TH "EXPIRY" "1" "2022-01-22" "shadow\-utils 4\&.11\&.1" "用户命令" .\" ----------------------------------------------------------------- .\" * 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 "名称" expiry \- check and enforce password expiration policy .SH "大纲" .HP \w'\fBexpiry\fR\ 'u \fBexpiry\fR \fI选项\fR .SH "描述" .PP The \fBexpiry\fR command checks (\fB\-c\fR) the current password expiration and forces (\fB\-f\fR) changes when required\&. It is callable as a normal user command\&. .SH "选项" .PP The options which apply to the \fBexpiry\fR command are: .PP \fB\-c\fR, \fB\-\-check\fR .RS 4 Check the password expiration of the current user\&. .RE .PP \fB\-f\fR, \fB\-\-force\fR .RS 4 如果用户密码过期,则强制用户修改密码。 .RE .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 显示帮助信息并退出。 .RE .SH "文件" .PP /etc/passwd .RS 4 用户账户信息。 .RE .PP /etc/shadow .RS 4 安全用户账户信息。 .RE .SH "参见" .PP \fBpasswd\fR(5), \fBshadow\fR(5)\&.