*BSD News Article 57882


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!EU.net!Norway.EU.net!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!newsfeed.sunet.se!news01.sunet.se!sunic!news99.sunet.se!erinews.ericsson.se!eua.ericsson.se!usenet
From: seb@erix.ericsson.se (Sebastian Strollo)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD on sparc - problems
Date: 21 Dec 1995 12:04:40 +0100
Organization: Ericsson Telecom Systems Labs, Stockholm, Sweden
Lines: 23
Sender: seb@scotch.eua.ericsson.se
Message-ID: <qyzqcmn0dz.fsf@scotch.eua.ericsson.se>
References: <4b7uj3$d86@unix2.sysnet.net>
NNTP-Posting-Host: scotch.eua.ericsson.se
In-reply-to: patton@sysnet.net's message of 20 Dec 1995 03:06:11 GMT
X-Newsreader: Gnus v5.1


In article <4b7uj3$d86@unix2.sysnet.net> 
           patton@sysnet.net (Matthew Patton) writes:
...
> 
> 2) Why is chown in /usr/sbin???  In installing Xfree86 for sparc (ie x11r6) I
> couldn't get xdm to work till I noticed it couldn't chown /dev/console.  And 
> /usr/sbin wasn't in xdm's environment path.
>   BTW, how does one determine the state of the path 
>   for processes that start from rc.local?

I was just runing into this up myself. The /etc/rc script sets the
path in the begining of the script, processes started from rc/rc.local
will get this path. xdm however sets its path itself, the default
being something like "/etc:/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb" (see
xdm(1), resource .systemPath). So I solved the problem by adding
something like this in the xdm-config file:

DisplayManager*systemPath:   /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
Displaymanager*userPath:     /bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

regards,
/Sebastian