Hello,
I tried to write a script allowing me to know whiwh user is locked or not.
For this purpose, I thought using the command :
# lsuser -a account_locked user_name
If a user is locked, the value of account_locked should be true, but what I noticed is even if this user is locked the display of account_locked is always false.
Can someone enligth me and helping me to find a solution in order to know , by a command, if a user is locked or not.
Thank you in advance
I tried to write a script allowing me to know whiwh user is locked or not.
For this purpose, I thought using the command :
# lsuser -a account_locked user_name
If a user is locked, the value of account_locked should be true, but what I noticed is even if this user is locked the display of account_locked is always false.
Can someone enligth me and helping me to find a solution in order to know , by a command, if a user is locked or not.
Thank you in advance