pwdadm -c for Solaris
Hi,
I wish to know what is the equivalent of the AIX command pwdadm -c user for Solaris. Thanks |
passmgmt
Check whether passmgmt help u.
|
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 ? |
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"). |
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. |