LOGIN(4-SVR4) RISC/os Reference Manual LOGIN(4-SVR4)
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.
CONSOLEIf 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.
PASSREQIf 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 pass-
word 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.
TIMEOUTThis variable is the length of time which login will
Printed 11/19/92 Page 1
LOGIN(4-SVR4) RISC/os Reference Manual LOGIN(4-SVR4)
wait for a password after receiving a user name. It
is in units of seconds.
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.
ROOTCONSOLE
If set to YES, login will permit user root to login
only on the system console. The system console is
defined as any character special file which matches
the device number of the /dev/console special file.
NOHOME If set to YES, login will allow users to log in even
if their home directory does not exist. Such users'
shell's current directory will be set to '/'. This
option should be enabled if compatibility with 4.3
BSD login is desired.
TTYGROUP
If set to YES, login will change the group ownership
of the controlling terminal to group "tty" instead of
to the user's primary group. This option should be
enabled if compatibility with the 4.3 BSD "Tahoe"
release is desired.
INITGROUPS
If set to YES, login will call initgroups() to enable
simultaneous access to files belonging to all groups
of which the user is a member (as specified in
/etc/group). This allows the user to avoid using
newgrp. This option should be enabled if compatibil-
ity with 4.3 BSD login is desired.
LASTLOGIN
If set to YES, login will maintain a file .lastlogin
in the each user's home directory, indicating when
the user last logged in, and provide a message indi-
cating the time of the last login. Note that this
feature is redundant if /usr/adm/lastlog exists; it
is provided for compatibility with certain other
implementations.
QUOTAWARN
If set to YES, login will execute /usr/ucb/quota to
report the user's disk quota status. login, however,
will skip running quota if .hushlogin exists in the
user's home directory.
SVR4SIGNALS
Page 2 Printed 11/19/92
LOGIN(4-SVR4) RISC/os Reference Manual LOGIN(4-SVR4)
If set to YES, this variable adds svr4 signal
behavior to login.
FILES
/etc/default/login
$HOME/.default/login
Printed 11/19/92 Page 3