LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   pwdadm -c for Solaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/pwdadm-c-for-solaris-431901/)

DarReNz 04-05-2006 03:57 AM

pwdadm -c for Solaris
 
Hi,

I wish to know what is the equivalent of the AIX command pwdadm -c user for Solaris. Thanks

AbrahamJose 04-05-2006 08:34 AM

passmgmt
 
Check whether passmgmt help u.

DarReNz 04-05-2006 09:59 PM

hi Ab,

If the user account is locked, is there any command to unlock/reset id or is it by changing the password it is automatically unlock ?

jlliagre 04-06-2006 03:44 AM

Setting a new password will unlock the account, assuming there are no issue with the backend user/password store.

By the way, the recommended command is no more "passmgmt", but one of "useradd", "userdel", or "usermod" (in your case, "usermod").

apt-get-dude 04-06-2006 05:46 AM

you can also type passwd -d followed by the user name and that deletes the lock.
By default, then the user as he logs in, he has to give himself a new password.


All times are GMT -5. The time now is 12:39 PM.