cvs commit: src/sbin/nologin Makefile nologin.c

Wes Peters wes at softweyr.com
Sun Feb 22 16:08:29 PST 2004


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 at softweyr.com


More information about the cvs-src mailing list