ページの作成:「==パスワード管理コマンド比較== {| class='wikitable' summary='パスワード管理コマンド比較' |- !コマンド !maxdate(パスワード有効期間…」
 
 
(同じ利用者による、間の7版が非表示)
1行目: 1行目:
==オプション==
;-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
==パスワード管理コマンド比較==
==パスワード管理コマンド比較==
{| class='wikitable' summary='パスワード管理コマンド比較'
{| class='wikitable' summary='パスワード管理コマンド比較'
9行目: 17行目:
|passwd || passwd -x || passwd -i || ---
|passwd || passwd -x || passwd -i || ---
|-
|-
|chage || chage -M || chage -I || chage -E
|chage || chage -M || chage <span style="font-family: monospace;">-I</span> || chage -E
|-
|-
|useradd || --- || useradd -f || useradd -e
|useradd || --- || useradd -f || useradd -e

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