programmatically distinguish between locked password and locked User
When locking a users password I see two "!!" in /etc/shadow:
[root@RH7 ugu5ma]# cat /etc/shadow | grep test01
test01:!!xxxxxxxxx
When locking a users account I see one "!" in /etc/shadow:
[root@RH7 ugu5ma]# cat /etc/shadow | grep test01
test01:!xxxxxxxxx
Am I correct with my observation ?
I haven't found any detailed info in the docs and kb's..
If so I will go ahead and create a bash-script to check the users-status.
Thanks in advance
ugu5ma2