HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)

l
login(1) login(1)
The password for the account has expired and the user cannot successfully change the password.
The password lifetime for the account has passed.
The time between the last login and the current time exceeds the time allowed for login intervals.
The administrative lock on the account has been set.
The maximum number of unsuccessful login attempts for the account has been exceeded.
The maximum number of unsuccessful login attempts for the terminal has been exceeded.
The administrative lock on the terminal has been set.
The terminal has an authorized user list and the user is not on it.
The terminal has time of day restrictions and the current time is not within the allowable period.
On a trusted system, login allows superuser to log in on the console unless
/etc/securetty
exists
and does not contain
console.
Refer to the /etc/default/security
file in the security(4) manpage for detailed information on
configurable parameters that affect the behavior of this command. Currently supported parameters are:
ABORT_LOGIN_ON_MISSING_HOMEDIR
NOLOGIN
NUMBER_OF_LOGINS_ALLOWED
EXTERNAL INFLUENCES
Environment Variables
HOME User’s home directory.
MAIL Where to look for mail.
PATH Path to be searched for commands.
SHELL Which command interpreter is being used.
TERM User’s terminal type.
varname User-specified named variables.
Ln User-specified unnamed variables.
DIAGNOSTICS
The following diagnostics appear if the associated condition occurs:
.rhosts is a soft link
The personal equivalence file is a symbolic link.
Bad .rhosts ownership
The personal equivalence file is not owned by the local user or by a user with appropriate privileges.
Bad group id
setgid()
failed (see setuid(2)).
Bad user id
setuid()
failed (see setuid(2)).
Cannot open password file
Consult the system administrator.
Locuser too long
The indicated string was too long for login’s internal buffer.
Login incorrect
User name and password cannot be matched.
No /usr/bin/login or /etc/login on root
Attempted to log in to a subdirectory root that does not have a subroot login command. That is, the
passwd file entry had shell path *, but the system cannot find a login command under the given
home directory.
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 593