Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 15:32:27 +0900 (JST)
From:      Hideyuki KURASHINA <rushani@bl.mmtr.or.jp>
To:        michaelnottebrock@gmx.net
Cc:        freebsd-stable@freebsd.org
Subject:   Re: symlinked $HOME/.login_conf ignored
Message-ID:  <20041130.153227.30105543.rushani@bl.mmtr.or.jp>
In-Reply-To: <200411300123.23822.michaelnottebrock@gmx.net>

index | next in thread | previous in thread | raw e-mail

Hi,

>>> On Tue, 30 Nov 2004 01:23:23 +0100, Michael Nottebrock <michaelnottebrock@gmx.net> said:

> I just discovered that .login_conf must not be symlinked in order to get 
> applied. Bug or feature?

Just a feature.

login_cap(3) says as follows,

  DESCRIPTION
     [...]
     ronment before the shell is invoked on login.  Note that access to the
     /etc/login.conf and .login_conf files will only be performed subject to
     the security checks documented in _secure_path(3) for the uids 0 and
     pwd->pw_uid respectively.

and you'll get the answer from _secure_path(3).

-- rushani


help

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