如何更改HP-UX服务器上可以作为参数访问选项的用户的密码

时间:2015-06-15 08:21:34

标签: command hp-ux

美好的一天!

当我想在HP-UX服务器上更改用户的密码时遇到问题 我用过:

Server:/home/testoo#sudo /bin/passwd arun  
Changing password for arun  
Last successful password change for arun: NEVER  
Last unsuccessful password change for arun: NEVER  

Do you want (choose one letter only):  
        pronounceable passwords generated for you (g)  
        a string of letters generated (l) ?  
        to pick your passwords (p) ?  

Enter choice here: p  
New password:  
Re-enter new password:  
Passwd successfully changed

没关系。但现在我想在命令行上更改密码,上面的选项作为参数传递 例如:

passwd username --password PASSWD ... 

你对我有什么建议吗?在这种情况下请帮助我。

提前谢谢。

0 个答案:

没有答案