System Administration Guide: Naming and Directory Services (NIS+)

Displaying Password Information in NIS+

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 16–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 in NIS+.


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 in NIS+.


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

See Setting a Password Age Limit in NIS+.


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

See Establishing a Password Warning Period in NIS+.


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

See Password Privilege Expiration in NIS+.


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 for Users in NIS+.

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