Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2000 08:47:34 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Roger Merritt <mcrogerm@stjohn.ac.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: path in single-user mode
Message-ID:  <20001018084734.K272@fw.wintelcom.net>
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 %2B0700
References:  <3.0.6.32.20001018164638.007c87e0@stjohn.stjohn.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
* Roger Merritt <mcrogerm@stjohn.ac.th> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001018084734.K272>