| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fix bug 683383.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|