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

l
login(1) login(1)
No directory
Consult system administrator.
No Root Directory
Attempted to log in to a subdirectory root that does not exist. That is, the
passwd file entry had
shell path
*, but the system cannot
chroot() to the given home directory.
No shell
The user shell (/usr/bin/sh if shell name is null in
/etc/passwd) could not be started with
the
exec command. Consult system administrator.
No utmp entry. You must exec "login" from the lowest level "sh"
Attempted to execute login as a command without using the shell’s
exec internal command or
from other than the initial shell. The current shell is terminated.
Remuser too long
The indicated string was too long for
login’s internal buffer.
Terminal type too long
The indicated string was too long for login’s internal buffer.
Unable to change to directory name
Cannot
chdir to the user’s home directory.
Your password has expired. Choose a new one
Password aging is enabled and the user’s password has expired.
WARNINGS
If
/etc/group is linked to /etc/logingroup
, and group membership for the user trying to log in is
managed by the Network Information Service (NIS), and no NIS server is able to respond,
login
waits
until a server does respond.
DEPENDENCIES
Pluggable Authentication Modules (PAM)
PAM is an Open Group standard for user authentication, password modification, and validation of
accounts. In particular,
pam_authenticate()
is invoked to perform all functions related to login.
This includes retrieving the password, validating the account, and displaying error messages.
pam_chauthtok() is invoked during password expiration or establishment.
HP Process Resource Manager
If the optional HP Process Resource Manager (PRM) software is installed and configured, the login shell
is launched in the user’s initial process resource group. If the user’s initial group is not defined, the shell
runs in the user default group (
PRMID=1). See prmconfig(1) for a description of how to configure HP
PRM, and prmconf(4) for a description of how the user’s initial process resource group is determined.
AUTHOR
login was developed by AT&T and HP.
FILES
$HOME/.profile Personal profile (individual user initialization)
$HOME/.rhosts Personal equivalence file for the remote login server.
/etc/d_passwd Dialup security encrypted passwords.
/etc/dialups Lines which require dialup security.
/etc/hosts.equiv System list of equivalent hosts allowing logins without passwords.
/etc/logingroup Group file — defines group access lists.
/etc/motd Message-of-the-day.
/etc/passwd Password file — defines users, passwords, and primary groups.
/etc/profile System profile (initialization for all users).
/etc/securetty List of valid ttys for root login.
/etc/shadow Shadow Password file.
/etc/utmp Users currently logged-in.
HP-UX 11i Version 2: August 2003 4 Hewlett-Packard Company Section 1473