Enlightenment CVS committal Author : raster Project : e17 Module : apps/entrance
Dir : e17/apps/entrance/src/client Modified Files: entrance_session.c Log Message: asparagus! =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v retrieving revision 1.69 retrieving revision 1.70 diff -u -3 -r1.69 -r1.70 --- entrance_session.c 23 Mar 2005 03:12:40 -0000 1.69 +++ entrance_session.c 30 Apr 2005 07:16:22 -0000 1.70 @@ -404,6 +404,7 @@ /* Tell PAM that session has begun */ if (pam_open_session(e->auth->pam.handle, 0) != PAM_SUCCESS) { + syslog(LOG_NOTICE, "Cannot open pam session for user \"%s\".", e->auth->user); if (!e->config->autologin.mode) { syslog(LOG_CRIT, "Unable to open PAM session. Aborting."); @@ -425,6 +426,7 @@ syslog(LOG_CRIT, "Unable to set user id."); shell = strdup(e->auth->pw->pw_shell); entrance_session_free(e); + syslog(LOG_NOTICE, "Exec session \"%s\".", buf); execl(shell, "-", "-c", buf, NULL); exit(0); break; @@ -441,6 +443,7 @@ sleep(10); /* replace this rpcoess with a clean small one that just waits for its */ /* child to exit.. passed on the cmd-line */ + syslog(LOG_NOTICE, "Replacing Entrance with simple login program to wait for session end."); snprintf(buf, sizeof(buf), "%s/entrance_login %i", PACKAGE_BIN_DIR, (int) pid); execl("/bin/sh", "/bin/sh", "-c", buf, NULL); ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs