symlinked $HOME/.login_conf ignored

Hideyuki KURASHINA rushani at
Mon Nov 29 22:33:37 PST 2004


>>> On Tue, 30 Nov 2004 01:23:23 +0100, Michael Nottebrock <michaelnottebrock at> 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,

     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

More information about the freebsd-stable mailing list