Check if an account is locked or not and how to unlock it
-To check the status if ALL the accounts,locked or not-locked:
(false means NOT locked and true means locked)
#lsuser -a account_locked ALL
-To check if the root(or
whatever user) account is locked or not”
#lsuser -a account_locked root
-To unlock a user account:
#chuser -a account_locked=false amer
No comments:
Post a Comment