From owner-freebsd-questions Wed Oct 18 8:47:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7DD2137B4C5 for ; Wed, 18 Oct 2000 08:47:43 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9IFlYm11001; Wed, 18 Oct 2000 08:47:34 -0700 (PDT) Date: Wed, 18 Oct 2000 08:47:34 -0700 From: Alfred Perlstein To: Roger Merritt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: path in single-user mode Message-ID: <20001018084734.K272@fw.wintelcom.net> References: <3.0.6.32.20001018164638.007c87e0@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3.0.6.32.20001018164638.007c87e0@stjohn.stjohn.ac.th>; from mcrogerm@stjohn.ac.th on Wed, Oct 18, 2000 at 04:46:38PM +0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Roger Merritt [001018 02:46] wrote: > I haven't had to boot up in single-user mode except for doing a 'make > installworld' for quite a while now, but I notice that when I do the path > doesn't include /sbin or /usr/sbin. I haven't been able to find how the > default is set. Changing login.conf doesn't seem to have any effect. > > What can I do so I don't have to enter 'PATH=$PATH:/sbin:/usr/sbin; export > PATH' whenever I go into single-user? (well, I guess now that I'm reverting > to tcsh I would have to use 'setenv', right?) Don't change root's shell. Use /etc/profile. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message