gdm stuff



  Hi,

  I just got the latest gdm from CVS and it seems to be working pretty nicely.
I made a patch to keep it from displaying all the accounts such as mail, nobody,
and so on; I don't know if this is the Right Way but it works on my system.  It
hides all accounts in the browser except for UID 0 and UIDs between 1000 and
65534.

  gdm still doesn't seem to check the password I enter, though; it lets anyone
log in as anyone.  Is this a bug in my setup and if so, how can I fix it?

  One other minor thing: gdm's PATH doesn't seem to be the same as xdm; the
DefaultPath in gdm.conf includes /usr/bin/X11 but programs (for example,
WindowMaker) can't seem to see that; any attempt to change WindowMaker's
background fails with:
sh: wmsetbg: command not found.

  Starting a terminal and doing it manually works, of course, but why
doesn't it work from WindowMaker?  Again, is this a bug in my setup?  I use
the same Xsession file for xdm and gdm but it doesn't modify the PATH.

-- 
There are many of us in this old world of ours who hold that things break
about even for all of us.  I have observed, for example, that we all get
about the same amount of ice.  The rich get it in the summer and the poor
get it in the winter.
		-- Bat Masterson
Index: src/gdmgreeter.c
===================================================================
RCS file: /cvs/gnome/gdm/src/gdmgreeter.c,v
retrieving revision 1.45
diff -u -r1.45 gdmgreeter.c
--- gdmgreeter.c	1999/01/19 03:28:25	1.45
+++ gdmgreeter.c	1999/01/22 16:10:53
@@ -1450,7 +1450,7 @@
 	
     while (pwent != NULL) {
 	
-	if (gdm_greeter_check_shell(pwent->pw_shell)) {
+	if ( pwent->pw_uid<65534 && (pwent->pw_uid==0||pwent->pw_uid>=1000) && gdm_greeter_check_shell(pwent->pw_shell)) {
 	    users=g_list_insert_sorted(users, 
 				       gdm_greeter_user_alloc(g_strdup(pwent->pw_name),
 							      pwent->pw_uid,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]