Solstice AdminSuite 2.3 Administration Guide

Using the Policy_Defaults File

The Policy_Defaults file is a file that is created when you use the Set Defaults feature from the Host Manager or User Manager Edit pull down menu; similarly, this file is created when you use the admtblloc command.

The Policy_Defaults file is used to set the default values for adding a user or host to your system; that is, if you have a standard value that you use repeatedly for a host or user, you can set that value as a default so that you do not have to enter it each time you add a user or host. Refer to the following screen for an example of the Set Defaults window in User Manager.

Figure 5-8 Set Defaults Window

Graphic

The Policy_Defaults file is created in and used by the NIS, NIS+, and None name services. Depending upon which name service is used, the file is stored in different places.

If you are using a NIS name service, the file location depends upon the following:

If you are using a NIS+ name service, an actual NIS+ map is created in org_dir called Policy_Defaults.org_dir.

If you are using the None name service, the file is stored in the /etc/Policy_Defaults directory.

Example of a Policy_Defaults File

The Policy_Defaults0 file consists of a number of entries that you can set; the following is an example of the Policy_Defaults file.


USER_GUID=10
USER_SGUID=
USER_SHELL=/bin/sh
USER_PASSWORD_TYPE=BLANK
USER_PASSWORD_MIN_CHANGE=
USER_PASSWORD_MAX_CHANGE=
USER_PASSWORD_MAX_INACTIVE=
USER_PASSWORD_EXPIRE=
USER_PASSWORD_WARNING=
USER_CREATE_HOME_DIR=YES
USER_SERVER=
USER_HOME=
USER_SKELETON_DIRECTORY=/etc/skel
USER_AUTO_HOME_SETUP=NO
USER_DEFAULT_PERMISSION=0755
USER_MAIL_SERVER=
USER_CRED_TABLE_SETUP=YES
MOVE_USER_MAIL=/var/mail
MOVE_USER_EXPORT_DESTINATION_HOME=YES
MOVE_USER_UNEXPORT_SOURCE_HOME=NO
MOVE_USER_EXPORT_DESTINATION_MAIL=YES
MOVE_USER_UNEXPORT_SOURCE_MAIL=NO
USER_KEY_1=internalUseOnly
CLIENT_ROOT_LOCATION=/export/root
CLIENT_SWAP_LOCATION=/export/swap
CLIENT_OS=Solaris
CLIENT_OS_VERSION=2.5
CLIENT_ARCHITECTURE=sparc
CLIENT_PLATFORM=sun4c
CLIENT_SWAP_DISKSPACE=32
KERNEL_LOCATION=/export/exec
FILE_SERVER=
MEDIA_SERVER=