Solaris Naming Administration Guide

Setting Minimum Password Life

The min argument to the passwd command specifies the number of days that must pass before a user can change passwords. If a user tries to change passwords before the minimum number of days has passed, a Sorry less than N days since the last change message is displayed.

The min argument uses the following format:


passwd -x max -n min username

Where:

For example, to force the user eponine to change passwords every 45 days, and prevent him from changing it for the first 7 days you would type the command:


station1% passwd -x 45 -n 7 eponine

The following rules apply to the min argument: