Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
entrance_auth.c
Log Message:
Fix for console permissions bug -- the DISPLAY environment variable which
was being checked has not been set at this point.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_auth.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- entrance_auth.c 1 May 2004 20:44:52 -0000 1.16
+++ entrance_auth.c 24 Jun 2004 01:06:53 -0000 1.17
@@ -147,10 +147,9 @@
return ERROR_NO_PAM_INIT;
}
- /* Set TTY to current DISPLAY variable */
+ /* Set TTY to DISPLAY */
if ((pamerr =
- pam_set_item(e->pam.handle, PAM_TTY,
- getenv("DISPLAY"))) != PAM_SUCCESS)
+ pam_set_item(e->pam.handle, PAM_TTY, e->display)) != PAM_SUCCESS)
{
syslog(LOG_CRIT, "Error: Unable to configure PAM_TTY.");
return ERROR_PAM_SET;
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs