編集の要約なし |
|||
(同じ利用者による、間の4版が非表示) | |||
1行目: | 1行目: | ||
==オプション== | ==オプション== | ||
;-l | |||
:Lock the password of the named account | |||
;-u | |||
:Unlock the password of the named account | |||
;-e | ;-e | ||
:Immediately expire an account's password. This in effect can force a user to change | :Immediately expire an account's password. This in effect can force a user to change password | ||
==パスワード管理コマンド比較== | ==パスワード管理コマンド比較== |
2019年3月1日 (金) 10:57時点における最新版
オプション
- -l
- Lock the password of the named account
- -u
- Unlock the password of the named account
- -e
- Immediately expire an account's password. This in effect can force a user to change password
パスワード管理コマンド比較
コマンド | maxdate(パスワード有効期間) | inactive(アカウント無効期間) | expiredate(アカウント消失日) |
---|---|---|---|
passwd | passwd -x | passwd -i | --- |
chage | chage -M | chage -I | chage -E |
useradd | --- | useradd -f | useradd -e |
usermod | --- | usermod -f | usermod -e |