Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ login(4) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

login(4)  —  FILE FORMATS

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. 

ALTSHELL If set to YES, the SHELL environment variable will be set to the user’s 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. 

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.  The default value is 100. 

PATH This variable sets a default path for a user who is not the administrator.  The default value is /usr/bin. 

SUPATH This variable sets the default path for the administrator logging in.  The default value is /sbin:/usr/sbin:/usr/bin:/etc. 

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. 

SLEEPTIME This variable controls how many seconds login sleeps between each of the five password retries mentioned in login(1).  If 0, there is no wait between the retries.  The default is 1 second. 

UMASK This variable is the default umask for users.  The default value is 077. 

IDLEWEEKS This variable is the number of weeks which an account may remain idle before its login is disabled.  This value should always be greater than the value of MAXWEEKS defined in the default password file (see def_passwd(4)).  If MAXWEEKS is not defined, it will default to 4.  The suggested value for IDLEWEEKS is 8.  If an account is left idle longer than IDLEWEEKS, only the root user can reactivate the account.  The default value for IDLEWEEKS is -1 which allows an account to remain idle indefinitely. 

Comment lines are indicated with a pound character (#) in the first column. 

EXAMPLES

The following is an example of /etc/default/login. 

TIMEZONE=EST5EDT
HZ=100
ULIMIT=4096
ALTSHELL=YES
IDLEWEEKS=8

FILES

/etc/default/login

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026