|
This login version based on the sources from
util-linux 2.9s. I have removed all non PAM stuff
and added a lot of nice features from the shadow login
program. This means, pam_login will read and honour
/etc/login.defs.
Random administrative things, such as setting the UID
andGID of the tty are performed. The TERM environment
variable is preserved, if it exists (other environment
variables are preserved if the -p option is used). Then
the HOME, PATH, SHELL, TERM, MAIL and LOGNAME environment
variables are set. PATH defaults to
/usr/local/bin:/bin:/usr/bin:. for normal users and to
/sbin:/bin:/usr/sbin:/usr/bin for root if not other
configured.
The user's shell is then started. If no shell is specified
for the user in /etc/passwd, then /bin/sh
is used. If there is no directory specified in
/etc/passwd, then / is
used (the home directory is checked for the .hushlogin
file described above).
Version 3.14 add SELinux support, fixes order of
PAM function calls, fixes problems with gcc 3.3,
fixes problems with non-standard ttys on S390,
fixes utmp/wtmp handling on 64bit architectures.
If root logs in, initgroups is no longer called
to avoid the problem, that root cannot login if
there are network or other problems. As result,
id root will only show the group root
and no other one.
Version 3.7 fixes a bug in the SIGHUP handling,
which prevents login to exit in same cases.
With Version 3.6, pam_login will not longer be killed
if you terminate the login shell with Ctrl-\.
Read the NEWS and
ChangeLog file for more
information.
|