Scroll to navigation

EXPIRY(1) 用户命令 EXPIRY(1)

名称

expiry - check and enforce password expiration policy

大纲

expiry 选项

描述

The expiry command checks (-c) the current password expiration and forces (-f) changes when required. It is callable as a normal user command.

选项

The options which apply to the expiry command are:

-c, --check

Check the password expiration of the current user.

-f, --force

如果用户密码过期,则强制用户修改密码。

-h, --help

显示帮助信息并退出。

文件

/etc/passwd

用户账户信息。

/etc/shadow

安全用户账户信息。

参见

passwd(5), shadow(5).

2024-02-04 shadow-utils 4.13