login(4) 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, a privileged user may log in only on the
terminal defined by the CONSOLE keyword. For example,
CONSOLE=/dev/console
means the privileged user may log in only on the integral
display device attached to /dev/console. If CONSOLE is not in
/etc/default/login, a privileged user may log in on any
terminal.
ALTSHELL
If the user's shell is defined in /etc/passwd and this
keyword is set to YES, the SHELL environment variable
is set to the user's shell. If set to NO, the names of
nonstandard shells are not put in the SHELL environment
variable. The default value of this keyword is NO.
For increased security, set it to YES.
PASSREQ
If set to YES, all users must have a password. Any
user without a password is asked for one at the first
opportunity permitted by the password aging set for
that user. (That is, 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.)
MANDPASS
When set to YES, this keyword makes passwords mandatory
for all logins (overriding PASSREQ).
TIMEZONE
This keyword sets the TZ variable in the environment of
the user. It must match the format of the timezone set
in /etc/TIMEZONE.
HZ This keyword sets the environment variable HZ, the rate
of the system clock, for the user logging in. The
default is 100.
Copyright 1994 Novell, Inc. Page 1
login(4) login(4)
PATH This keyword sets a default path for an unprivileged
user. The default is /usr/bin.
SUPATH This keyword sets the default path for the privileged
user logging in. Another default path for the
privileged user is in /etc/default/su, which is set for
privileged users who did not log in as such. The
default is /sbin:/usr/sbin:/usr/bin:/etc.
ULIMIT This keyword sets the maximum file size for a user. It
is in units of 512-byte blocks.
UMASK This keyword is the default umask for users. The
default is 077.
IDLEWEEKS
This keyword is the number of weeks an account may
remain idle before its login is disabled.
TIMEOUT
This keyword is the length of time, in seconds, that
login waits for a password after receiving a user name.
The default is 60.
MAXTRYS
This keyword sets the maximum number of login attempts
permitted. The default is 5.
LOGFAILURES
This keyword sets the number of failed login attempts
permitted before a record is made. The default is 5.
[See loginlog(4).]
DISABLETIME
This keyword sets the number of seconds to sleep after
MAXTRYS or LOGFAILURES failed logins. The default is
20.
SLEEPTIME
This keyword sets the number of seconds to sleep before
printing an error message. The default is 1.
OPT_FPM
This keyword is the pathname of a regular, non-
executable file containing a site-specific message to a
user without a password, asking that user to pick a
Copyright 1994 Novell, Inc. Page 2
login(4) login(4)
password. The default message is Choose one.
DELAYEDEXIT
This keyword is used to delay the exit from the login
process, for the specified number of seconds, so the
user logging in has time to read messages before the
screen is cleared. Its value can be set to any number
between 0 and 10; the default value is 0. (If you try
to assign a value greater than the default-10-the value
will be set to 10.)
FILES
/etc/default/login
REFERENCES
defadm(1M), loginlog(4)
Copyright 1994 Novell, Inc. Page 3