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

nistbladm and NIS+ Shadow Column Fields

You use the nistbladm command to set password parameters by specifying the values of the different fields in the shadow column. These fields are entered in the format:

Diagram shows format for fields in shadow column

Where:


Caution – Caution –

When using nistbladm on the shadow column of the password table, all of the numeric fields must contain appropriate values. You cannot leave a field blank, or enter a zero, as a no change placeholder.


For example, to specify that the user amy last changed her password on day 9246 (May 1, 1995), cannot change her password until it has been in use for 7 days, must change her password after 30 days, will be warned to change her password after 25 days, must not remain inactive more than 15 days, and has an account that will expire on day number 9285, you would type:


nistbladm -m shadow=9246:7:30:5:15:9285 [name=amy], passwd.org.dir