Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 03:02:34 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>, freebsd-current@FreeBSD.ORG
Subject:   Re: What to do about nologin(8)?
Message-ID:  <20040225000231.GB32548@nagual.pp.ru>
In-Reply-To: <20040224223659.GB69570@VARK.homeunix.com>
References:  <6.0.1.1.1.20040223171828.03de8b30@imap.sfu.ca> <20040224223659.GB69570@VARK.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 24, 2004 at 02:36:59PM -0800, David Schultz wrote:
> (1) Fix login(1) so that it disables the -p option when the target
>     user's shell is not in /etc/shells (unless the invoking user
>     is root), and

No, just disable LD_* variables only _in_any_case_ in the login(1) (and 
maybe in the other login-likes).

> (2) Make nologin(8) setgid nobody, so rtld ignores LD_LIBRARY_PATH.

No, please make it plain dynamical executable with no special privs, like 
the rest.

I already explain my arguments (i.e. "why") in the previois post.

-- 
Andrey Chernov | http://ache.pp.ru/



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