Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 14:57:25 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: home directory overridden by root?
Message-ID:  <20170227145725.81ca3555a2fbfa472fa3e6a6@sohara.org>
In-Reply-To: <F7C92D16-BEF9-4BA3-9F4E-CB5702D5069F@gmail.com>
References:  <B9C3096B-970E-468D-9316-9E650BAEC448@gmail.com> <20170227111307.5441830c@kalimero.tijl.coosemans.org> <F7C92D16-BEF9-4BA3-9F4E-CB5702D5069F@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Feb 2017 06:44:42 -0800
Paul Beard <paulbeard@gmail.com> wrote:

> 
> > On Feb 27, 2017, at 2:13 AM, Tijl Coosemans <tijl@FreeBSD.org> wrote:
> > 
> > If that's not correct check if some login script sets that variable
> > and remove that.  Its value should be correct by default.
> 
> I have no idea what could set that other than that some . script. But I
> found nothing that set any environment variables. 

	Those or login.conf or /etc/profile are about the only places it
should be able to happen.

> I created a .bashrc that explicitly sets it for now. I may create a new
> user and see if that account gets its $HOME set properly.

	HOME normally gets set up correctly so something is awry on your
system. Creating another user is well worth doing, it will tell you
straight away whether the problem is in your own environment setup or in
the system.

-- 
Steve O'Hara-Smith <steve@sohara.org>



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