The /usr/lib/security/mkuser.default file contains the default attributes for new users. This file is an ASCII file that contains user stanzas. These stanzas have attribute default values for users created by the mkuser command. Each attribute
has the Attribute=Value form. If an attribute has a value of $USER, the mkuser command substitutes the name of the user. The end of each attribute pair and stanza is marked by a new-line character.
There are two stanzas, user and admin, that can contain all defined attributes except the ID and admin attributes. The mkuser command generates a unique ID attribute. The admin attribute depends on whether the -a flag is used with the mkuser command. The following example shows a typical stanza in /usr/lib/security/mkuser.default.
# pg /usr/lib/security/mkuser.default
user:
pgrp = staff
groups = staff
shell = /usr/bin/ksh
home = /home/$USER
admin:
pgrp = system
groups = system
shell = /usr/bin/ksh
home = /home/$USER
No comments:
Post a Comment