編集の要約なし |
|||
4行目: | 4行目: | ||
;-E | ;-E | ||
:Set the date on which the user's account will no longer be accessible | :Set the date on which the user's account will no longer be accessible | ||
==パスワード管理コマンド比較== | |||
{| class='wikitable' summary='パスワード管理コマンド比較' | |||
|- | |||
!コマンド | |||
!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 | |||
|} |
2019年3月1日 (金) 10:10時点における版
オプション
- -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 |