After some further, research, I found a better solution (since this tends to make msec barf):
Edit the /usr/share/msec/libmsec.py file and find the line that defines KDMRC. Change its value to /tmp/kdmrc or some other throw-away value. On Tue, 2002-10-01 at 14:17, Wes Kurdziolek wrote: > Ah, I have this problem when I set KDM to display no users; it keeps > resetting it to display all users -- quite annoying. I didn't know that > was one of the items it switches back. Here's what I do to keep it from > getting messed with: > > 1) Make the changes you want to the kdmrc file. > 2) chattr +i /usr/share/config/kdm/kdmrc > > #2 will effectively make the file read-only to even the root user until > one removes the immutable flag from the file. Note: this will only work > on ext2/3 AFIAK. > > On Tue, 2002-10-01 at 13:53, Bob Walker wrote: > > Wes, > > > > That's what I did. However since this file is generated automatically WITH the > > bogus paths, I'll assume that someone has fixed the root cause, i.e. the > > app/script that is generating 'kdmrc'. > > > > Thanks for your response. > > > > Bob > > > > > > On Tuesday 01 October 2002 10:24 am, Wes Kurdziolek wrote: > > > Edit the file: /usr/share/config/kdm/kdmrc > > > > > > On Tue, 2002-10-01 at 13:08, Bob Walker wrote: > > > > Does anyone have a fix for the bogus paths being set in KDMRC? > > > > > > > > SystemPath=/usr//bin:/sbin:/usr/sbin:/bin:/usr/bin::/usr/local/bin > > > > UserPath=/usr//bin:/bin:/usr/bin::/usr/local/bin > > > > > > > > Bob > > >
