Check User Account Status in Solaris
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 Code:
$uname -a |
Quote:
Quote:
You might be looking for the Code:
passwd -s username |
All times are GMT -5. The time now is 08:03 AM. |