Hi Drew,

> For some reason, both of my RH7.0 installs do not include /sbin in the
> default PATH.  How do I add this to the default list so I don't have to
> reset the PATH everytime I log on?

 Do you have this problem using consoles or in X? The kdm shipping with RedHat 
7.0 is built with an empty systemPath. This means users and root use the same 
userPath when running an xterm/konsole, which does not contain /sbin, but does 
contain an entry to /opt/kde2/bin, a directory that is not used under RedHat 
by default.
 You could recompile kdm, or patch the path in the binary by hand, using a hex 
editor.
Replace
~/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde2/bin:/usr/lib/kde2/bin:/usr/local/b
in
with
~/bin:/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sb
in
 When patching a binary like this, make sure no extra bytes are inserted or 
deleted.

                                                Bye,

                                                Leonard.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to