Linux [Electronic resources]

Janet Valade

نسخه متنی -صفحه : 357/ 275
نمايش فراداده

cdage (change password expiration)

Changes password expiration data for an account.

Format: cdage

userid Examples: cdage cdage janet

If you enter the command without any options, it prompts you for the information it needs.

Opt

What It Does

Example

-d

List date of last password change

chage -d

-E expiredate

Set date account expires

chage -E

-l

Display current values

chage -l

-mn

Minimum n days between password changes

chage -m 2

-M n

Maximum n days between password changes

chage -M 10