pam_login is a software designed exclusively for PAM authentication.
One of the benefits of pam_login is that it will read and follow important preferences from /etc/login.defs. Random administrative tasks, such as setting the UID and GID of the tty, are also performed. Additionally, the TERM environment variable will remain intact, if it already exists. Other environment variables can be preserved by using the -p option.
Among many enhancements, the HOME, PATH, SHELL, TERM, MAIL, and LOGNAME environment variables are set. By default, PATH is set to /usr/local/bin:/bin:/usr/bin: for normal users, and /sbin:/bin:/usr/sbin:/usr/bin for root if not otherwise configured. The user's shell will then be launched. If no shell is specified for the user in /etc/passwd, /bin/sh will be used. If no directory is specified in /etc/passwd, / will be used instead.
In the latest release of pam_login, you'll find many bug fixes, making this product even more reliable than before. It's also worth noting that SELinux and lastlog support have been eliminated in favor of corresponding PAM modules. Overall, pam_login is an excellent choice for anyone looking for a software solution designed specifically for PAM authentication.
Version 3.29: N/A