Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/user



On Thu, Feb 23, 2006 at 01:04:53PM +0100, Hubert Feyrer wrote:
> On Fri, 6 Jan 2006, Christos Zoulas wrote:
> >Modified Files:
> >     src/usr.sbin/user: user.c
> >
> >Log Message:
> >Add checks for valid shell. From Liam Foy.
> 
> How do I add a user with /bin/nologin as shell?
> (which shouldn't be in /etc/shells as it would allow the user to login via 
> FTP).
> 
> I'm not sure this change is good...

It's a bit late, but you are right - that was why we didn't mandate
that the login shell be a valid one, as found in /etc/shells.

The login shell should be allowed to be anything.

Regards,
Alistair



Home | Main Index | Thread Index | Old Index