Oracle SolarisSolaris 11Solaris 11.3Solaris 11.4

Displaying Password Information in Solaris OS

This tutorial focuses on using the passwd command to display password information in Solaris OS about all users or about one particular user.

If your question is one of the following, then this tutorial is for you:

  • Chage command in Solaris
  • How to check password expiry in Solaris
  • How to check password expiry in Solaris 11
  • Check user account status in Solaris
  • Solaris User lock status

Displaying Password Information

1. For your password information

To display password information for your user type below command:

passwd -s

2. For all users in the current domain

To display password information for all users in the current domain type below command:

passwd -s -a

3. For a particular user

To display password information for a particular user type below command:

passwd -s <username>

-LK denotes that the user account is LOCKED

 

Follow this guide to Unlock User account in Solaris OS.

Only the entries and columns for which you have read permission will be displayed. Entries are displayed in the following format:

  • Without password aging: username status
  • With password aging: username status mm/dd/yy min max warn expire inactive

Field Description 
usernameThe user’s login name. 
statusThe user’s password status. PS indicates the account has a password. LK indicates the password is locked. NP indicates the account has no password. 
mm/dd/yyThe date, based on Greenwich mean time, that the user’s password was last changed. 
minThe minimum number of days since the last change that must pass before the password can be changed again. 
maxThe maximum number of days the password can be used without having to change it. 
warnThe number of days’ notice that users are given before their passwords have to be changed. 
expireA date on which users loose the ability to log in to their accounts. 
inactiveA limit on the number of days that an account can go without being logged in to. Once that limit is passed without a log in users can no longer access their accounts. 

Reference Links:-

0 0 votes
Article Rating

Prashanth Nimesh

I have passed B.Tech in Computer Science and currently working as a System Administrator with over 4 years of experience in the IT field. I am also the creator of the theGeeksHub website and its main contributor.

Related Articles

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Back to top button