Configuration control definitions for the login package
Systemwide values used by user and group creation utilities such as useradd and usergroup are kept in the /etc/login.defs file. Here you will find the range of possible user and group IDs listed. UID_MIN holds the minimum number for user IDs and UID_MAX the maximum number. Various password options control password controls, such as PASS_MAX_DAYS, which determines the maximum days allowable for a password. Many password options, such as password lengths, are now handled by Pluggable Authentication Modules (PAM).
Samples of these entries are shown here:
UID_MIN 1000
MAIL_DIR /var/mail
PASS_MAX_DAYS 99999
source Richard petersen
NB : tested on ubuntu 8.04
No comments:
Post a Comment