Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 16:08:28 -0800
From:      Wes Peters <wes@softweyr.com>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/nologin Makefile nologin.c
Message-ID:  <200402221608.28196.wes@softweyr.com>
In-Reply-To: <6.0.1.1.1.20040222231909.03abc488@imap.sfu.ca>
References:  <200402221003.i1MA3PW0024791@repoman.freebsd.org> <20040222231649.GN45593@submonkey.net> <6.0.1.1.1.20040222231909.03abc488@imap.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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