summaryrefslogtreecommitdiff
path: root/daemon/gdm-session-solaris-auditor.c
Commit message (Collapse)AuthorAgeFilesLines
* session-solaris-wayland: Use G_DECLARE_FINAL_TYPENiels De Graef2018-12-251-41/+37
|
* Trivial: Update FSF Address.Dominique Leuenberger2012-09-061-2/+2
| | | | Fix bug 683383.
* Wrap getpw* calls to retry in EINTRWilliam Jon McCann2010-08-171-2/+2
| | | | | | if getpwnam(username) returns NULL, errno needs to be checked for EINTR. This indicates that a signal was received while waiting for the blocking call to return, and getpwnam() should be retried.
* Correct reversed if-test. Fix setting of PAM_TTY on Solaris. Also makeBrian Cameron2009-04-081-6/+6
| | | | | | | | | | | | 2009-04-08 Brian Cameron <brian.cameron@sun.com> * daemon/gdm-session-solaris-auditor.c: Correct reversed if-test. * daemon/gdm-session-worker.c: Fix setting of PAM_TTY on Solaris. Also make sure that the auditor is provided the username on failed login by getting PAM_USER. Without this patch, if you select the "Other" button and have a failed login, username will not be set. svn path=/trunk/; revision=6803
* Add ", Inc." to "Sun Microsystems, Inc." copyright notice so it isBrian Cameron2008-03-281-1/+1
| | | | | | | | | | | 2008-03-27 Brian Cameron <brian.cameron@sun.com> * daemon/gdm-session-linux-auditor.[ch], daemon/gdm-session-auditor.[ch], daemon/gdm-session-solaris-auditor.[ch]: Add ", Inc." to "Sun Microsystems, Inc." copyright notice so it is correct. svn path=/trunk/; revision=6079
* Add PAM auditing logic. Based on patch and feedback from Brian Cameron andRay Strode2008-02-061-0/+391
2008-02-05 Ray Strode <rstrode@redhat.com> Add PAM auditing logic. Based on patch and feedback from Brian Cameron and earlier code from Gary Winiger and Steve Grubb. * configure.ac: set HAVE_ADT and HAVE_LIBAUDIT as appropriate for solaris and linux audit support, respectively. * daemon/Makefile.am: add new auditing code to Makefile. * daemon/gdm-session-auditor.[ch]: generic base class for doing auditing. * daemon/gdm-session-linux-auditor.[ch]: linux auditor subclass * daemon/gdm-session-solaris-auditor.[ch]: solaris auditor subclass * daemon/gdm-session-worker.c (GdmSessionWorkerPrivate): track auditor (gdm_session_worker_update_username): inform audit code about username changes (gdm_session_worker_start_auditor): instantiate the auditor (gdm_session_worker_stop_auditor): free the auditor (gdm_session_worker_uninitialize_pam): inform audit code about logout/login failure and then free the auditor (_get_tty_for_pam): fix calling return more than once on solaris (gdm_session_worker_initialize_pam): instantiate the auditor. (gdm_session_worker_authorize_user): inform audit code about password changes (gdm_session_worker_accredit_user): inform audit code about user getting credentials (gdm_session_worker_open_user_session): inform audit code about successful login svn path=/trunk/; revision=5702