Date: Mon, 4 Feb 2002 14:38:51 -0500 From: Michael Lucas <mwlucas@blackhelicopters.org> To: Scott Gerhardt <scott@gerhardt-it.com> Cc: FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Shells Question Message-ID: <20020204143851.A37856@blackhelicopters.org> In-Reply-To: <KPEMLBLEMPMHGLJOCDEGGEHCDMAA.scott@gerhardt-it.com>; from scott@gerhardt-it.com on Mon, Feb 04, 2002 at 01:35:09PM -0600 References: <KPEMLBLEMPMHGLJOCDEGGEHCDMAA.scott@gerhardt-it.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I would use login classes instead of shells; that's what they're there for. To toot my own horn a bit: http://www.onlamp.com/pub/a/bsd/2001/06/28/Big_Scary_Daemons.html On Mon, Feb 04, 2002 at 01:35:09PM -0600, Scott Gerhardt wrote: > To disallow shell accounts for ftp and pop users etc., > Is it better to use /sbin/nologin or /nonexistent for a shell entry in > /etc/passwd? > > "/nonexistent" does not exist > "/sbin/nologin" exists and actually fires up a shell and returns > something. > > FTP users must have a valid shell but this can be set to anything in > /etc/shells. > > Can't seem to find a definitive answer to this. > > > Thanks, > > _________________________________ > > Scott Gerhardt, P.Geo. > Gerhardt Information Technologies > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons http://www.blackhelicopters.org/~mwlucas/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020204143851.A37856>