HP-UX Reference (11i v3 07/02) - 1 User Commands N-Z (vol 2)
s
su(1) su(1)
su bin -c ’echo hello’
Become user DCEPrincipal in the DCE environment:
su -d DCEPrincipal
WARNINGS
After a valid password is supplied, su
uses information from /etc/passwd and /etc/logingroup
to
determine the user’s group ID and group access list. 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,
su waits until a server does respond.
DEPENDENCIES
Pluggable Authentication Modules (PAM)
PAM is an Open Group standard for user authentication, password modification, and account validation. In
particular,
pam_authenticate()
is invoked to perform all functions related to
su. This includes pass-
word retrieval, account validation, and error message displays.
FILES
$HOME/.profile User’s profile
/etc/logingroup System’s default group access list file
/etc/passwd System’s password file
/etc/profile System’s profile
/var/adm/sulog Log of all attempts
/etc/default/security
Security defaults configuration file
SEE ALSO
env(1), login(1), sh(1), initgroups(3C), syslog(3C), group(4), passwd(4), profile(4), security(4), environ(5).
Pluggable Authentication Modules (PAM)
pam_acct_mgmt(3), pam_authenticate(3).
HP-UX Smart Card Login
scpin(1).
STANDARDS CONFORMANCE
su: SVID2, SVID3, XPG2
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 301