login(4) UNIX System V login(4)
NAME
login - login default file
DESCRIPTION
Options for the login program can be set or changed with keywords in
/etc/default/login. The following keywords are recognized by login.
CONSOLE
If set, only the superuser may login on the terminal defined at
the console. For example,
CONSOLE= /dev/console
means that only root may login on the console. If CONSOLE is not
in /etc/default/login, the superuser may login on any terminal.
ALTSHELL
If set to YES, the SHELL environment variable will be set to the
users shell, if that shell is not /bin/sh. If set to NO, the
names of nonstandard shells will not be put in the SHELL
environment variable. The default value for this variable is NO.
For increased security, this should be set to YES.
PASSREQ
If set to YES, all users must have a password. Any user without
a password will be asked for one at the first opportunity
permitted by the password aging set for that user (i.e., users
without passwords may not change their NULL passwords if password
aging is enabled for them, and the minimum time before a password
can be changed has not elapsed).
TIMEZONE
This variable sets the TZ variable in the environment of the user.
It must match the timezone set in the /etc/TIMEZONE.
HZ This variable sets the environment HZ, the rate of the system
clock, for the user logging in.
PATH This variable sets a default path for a user who does not have uid
0.
SUPATH This variable sets the default path for the superuser logging in.
Another default path for the superuser is in /etc/default/su,
which is set for superusers who did not login in as such.
ULIMIT This variable sets the maximum file size for a user. It is in
units of 512-byte blocks.
TIMEOUT
This variable is the length of time which login will wait for a
password after receiving a user name. It is in units of seconds.
10/89 Page 1
login(4) UNIX System V login(4)
UMASK This variable is the default umask for users. IDLEWEEKS This
variable is the number of weeks which an account may remain idle
before its login is disabled.
FILES
/etc/default/login
Page 2 10/89