On 22-May-98 Greg Fall wrote:
> On Fri, 22 May 1998, Jacek Andreas Matulla wrote:
>
>> Hi all,
>>
>> I have some problems with my PATH setting. When I log on as root to the
>> console
>> my PATH contains /sbin and /usr/sbin. When logging in with kdm my PATH is
>> missing /sbin and /usr/sbin. Now my /etc/profile does not contain /sbin and
>> /usr/sbin. So where would I put these both...? Only for root. And where does
>> the console take the PATH from..?
>
> I don't know about kdm, but xdm uses two settings, found in
> /etc/X11/xdm/xdm-config. Mine works nicely when I set paths in that
> file, like this:
>
> DisplayManager._0.userPath: \
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin/\
>:/usr/bin/mh:/usr/local/Office40/bin
> DisplayManager._0.systemPath: \
> /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:\
> /usr/X11R6/bin:/usr/bin/mh:/usr/local/Office40/bin
O.K. I inspected all suggested files. And the console when logging in as root
will see /usr/sbin and /sbin. Whenn logging in as a user it does not see /sbin
and /usr/sbin. And there is NO mention of /sbin in /etc/profile and ~/.profile
deos not even exist. There are no setting concerning PATH in xdm-config and
running xdm with e.g. enlightenment will have the correct PATH but running kdm
with KDE will not. I'm just asking me where the console and xdm take the PATH
from?
TIA
Jacek
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.