From owner-cvs-all@FreeBSD.ORG Sun Feb 22 16:08:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20B1F16A4CE; Sun, 22 Feb 2004 16:08:29 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E4743D2F; Sun, 22 Feb 2004 16:08:29 -0800 (PST) (envelope-from wes@softweyr.com) Received: from zahpod.softweyr.com (66-91-236-204.san.rr.com [66.91.236.204]) by smtp-relay.omnis.com (Postfix) with ESMTP id D23241880A23; Sun, 22 Feb 2004 16:08:27 -0800 (PST) From: Wes Peters Organization: Softweyr To: Colin Percival Date: Sun, 22 Feb 2004 16:08:28 -0800 User-Agent: KMail/1.6 References: <200402221003.i1MA3PW0024791@repoman.freebsd.org> <20040222231649.GN45593@submonkey.net> <6.0.1.1.1.20040222231909.03abc488@imap.sfu.ca> In-Reply-To: <6.0.1.1.1.20040222231909.03abc488@imap.sfu.ca> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402221608.28196.wes@softweyr.com> cc: cvs-src@FreeBSD.org cc: Ceri Davies cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 00:08:29 -0000 On Sunday 22 February 2004 03:22 pm, Colin Percival wrote: > At 23:16 22/02/2004, Ceri Davies wrote: > >On Sun, Feb 22, 2004 at 11:14:05PM +0000, Colin Percival wrote: > > > I wonder if the optimal solution would be to have > > > /sbin/nologin compiled without syslog support and /usr/sbin/nologin > > > built from the same source but with syslog support enabled. > > > >It sounds to me like the optimal solution would actually be to move > > it. > > Sure, if you want to confuse people who have spent over a decade > expecting it to be in /sbin. We've got to leave *something* in /sbin > for at least the near future, even if it's minimalist. Actually moving nologin (with logging) to /usr/sbin seems a good solution. If /usr isn't mounted, accounts with /usr/sbin/nologin as their shell will not be able to login and you won't get a log message, exactly the same as the previous nologin program. It's not likely that account login will be an issue when /usr isn't mounted anyhow. You should know I'm not objecting after-the-fact to your commit, just a bit astonished given how much this has been opposed in the past. This is what I wanted to happen to nologin five and a half years ago when I first presented it to FreeBSD. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com