編集の要約なし
編集の要約なし
1行目: 1行目:
==オプション==
==オプション==
;-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
          his/her password at the user's next login.


==パスワード管理コマンド比較==
==パスワード管理コマンド比較==

2019年3月1日 (金) 10:18時点における版

オプション

-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