- 论坛徽章:
- 1
|
如何让一个账号的口令永不过期?
請問一下:
1) man 5 shadow 時,你是如何理解如下這段的:
The date of the last password change is given as the num&
ber of days since Jan 1, 1970. The password may not be
changed again until the proper number of days have passed,
and must be changed after the maximum number of days. If
the minimum number of days required is greater than the
maximum number of day allowed, this password may not be
changed by the user.
2) 又,man chage 時,你如何理解 -M 的:
With the -M option, the value of maxdays is the maximum
number of days during which a password is valid. When
maxdays plus lastday is less than the current day, the
user will be required to change her password before being
able to use her account. This occurance can be planned
for in advance by use of the -W option, which provides the
user with advance warning. |
|