Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2010 22:06:55 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Update gone wrong
Message-ID:  <20101026220655.8894b610.freebsd@edvax.de>
In-Reply-To: <AANLkTinuRSvSyt3V75DWBoNmM12gVFCH=sX6%2BXyuRGNF@mail.gmail.com>
References:  <AANLkTinuRSvSyt3V75DWBoNmM12gVFCH=sX6%2BXyuRGNF@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Oct 2010 22:38:30 +0300, Odhiambo Washington <odhiambo@gmail.com> wrote:
> When any user does a login into the system, the contents of of a file,
> containing src/etc/mtree/BIND.chroot are displayed on the screen.

Looks like /etc/mtree/BIND.chroot got /etc/motd - message of
the day - a text file displayed after successful login.



> Another
> symptom of this is that I see a message like:
> Oct 26 22:27:00 gw su: _secure_path: cannot stat /some/path/to/.login_conf:
> Permission denied.

Check permissions of that file and see if they match with the
path the file is accessed by. When using su, you can use the
parameter -m (don't modify environment); see "man su" for
details - .login_conf is also mentioned there.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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