freebsd-dev/usr.bin/login
Jilles Tjoelker 2482c270bb login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.
This avoids leaving stale entries in utmpx after the connection is closed on
an open login session. It also allows a clean way (SIGTERM) to forcibly
terminate a user's terminal session.

This does not affect the situation for "hung" processes after the connection
is closed. The foreground process group receives SIGHUP and the tty becomes
inaccessible.

Also replace all use of the obsolete signal() function with sigaction() (not
only the part where it is actually required: SIGHUP and SIGTERM must mask
the other as well when caught).

PR:		misc/183495
Reviewed by:	ed
2014-01-26 22:49:24 +00:00
..
login_audit.c Pass int arguments to auditon(2)'s A_GETCOND API rather than long 2009-04-19 23:34:22 +00:00
login_fbtab.c Remove unnecessary cast 2012-02-14 10:11:45 +00:00
login.1 None of these programs actually use auth.conf. 2012-06-11 16:18:39 +00:00
login.c login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM. 2014-01-26 22:49:24 +00:00
login.h
Makefile Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
pathnames.h Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
README

This login has additional functionalities. They are all based on (part of)
Wietse Venema's logdaemon package.


The following defines can be used:

- LOGALL to log all logins


-Guido

$FreeBSD$