Hi,
How do we check:
[1] whether a particular user account is locked or not?
[2] if a particular user's password has been removed? (Actually, we are moving to Token and removing static passwords for logins. In some cases, when users face problem we need to check if thier passwords are removed or not.)
Please Note: I do have appropriate privileges on the server to perform the above activities. However, I cannot read /etc/shadow as only "root" has the permission.
The following file does provide some information on password in the second field:
Code:
grep userName /etc/passwd
System Info:
Code:
$uname -a
SunOS ServerName 5.9 Generic_122300-48 sun4u sparc SUNW,Sun-Fire
$