Solaris Naming Administration Guide

Displaying Password Information

You can use the passwd command to display password information about all users in a domain or about one particular user:

For your password information

passwd -s

For all users in current domain

passwd -s -a

For a particular user

passwd -s username

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

Table 11-4 NIS+ Password Display Format



For Further Information 


The user's login name. 


The user's password status. PS indicates the account has a password. LK indicates the password is locked. NP indicates the account has no password. 

See "Locking a Password".


The date, based on Greenwich mean time, that the user's password was last changed. 


The minimum number of days since the last change that must pass before the password can be changed again. 

See "Setting Minimum Password Life".


The maximum number of days the password can be used without having to change it. 

See "Setting a Password Age Limit".


The number of days' notice that users are given before their passwords have to be changed. 

See "Establishing a Warning Period".


A date on which users loose the ability to log in to their accounts. 

See "Password Privilege Expiration".


A 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. 

See "Specifying Maximum Number of Inactive Days".

To display entries from a passwd table in another domain, use the -D option:

For all users in another domain

passwd -s -a -D domainname

For a particular user

passwd -s -D domainname username