修改XX帳號的密碼
passwd XX
Changing password for user XX.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
修改自已的密碼
用帳號登入後,打passwd為修改自已的密碼
passwd XX
EX:
[ test~]$ passwd XX
Changing password for user XX.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
修改自已的密碼
用帳號登入後,打passwd為修改自已的密碼
先輸入舊密碼,再輸入兩次新密碼即可
EX:
[ test~]$ passwdChanging password for user testroot.
Changing password for testroot
(current) UNIX password:
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[test ~]$
參考資料:http://linux.vbird.org/linux_basic/0410accountmanager.php#passwd
沒有留言:
張貼留言