13行目: | 13行目: | ||
!expiredate(アカウント消失日) | !expiredate(アカウント消失日) | ||
|- | |- | ||
|chage || chage -M || | |chage || chage -M || <span style="font-family:'mono',monospace,san-serif";>chage -I</span> || chage -E | ||
|- | |- | ||
|passwd || passwd -x || passwd -i || --- | |passwd || passwd -x || passwd -i || --- |
2019年3月1日 (金) 10:12時点における版
オプション
- -l
- Show account aging information
- -E
- Set the date on which the user's account will no longer be accessible
パスワード管理コマンド比較
コマンド | maxdate(パスワード有効期間) | inactive(アカウント無効期間) | expiredate(アカウント消失日) |
---|---|---|---|
chage | chage -M | chage -I | chage -E |
passwd | passwd -x | passwd -i | --- |
useradd | --- | useradd -f | useradd -e |
usermod | --- | usermod -f | usermod -e |