I do not have root privileges.
I wish to get the lock status of a given account say
I'm on Sun Solaris
uname -a SunOS myhost 5.11 126.96.36.199.1 sun4v sparc sun4v
Below is the output from shadow file.
sudo grep dias /etc/shadow mwss:*AL*$5$rounds=10000$yX8/zAfl$DH9du8FiUDxfTV7jVWu7rhET9AUFG3.yrBzgoWXtns8:18397::::::5270551
From the above how can we determine if account mwss is locked or not ? Any other solutions will also be appreciated.