Date: Sat, 10 May 2003 18:21:00 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: Andy Farkas <andyf@speednet.com.au> Cc: questions@freebsd.org Subject: Re: nologin access Message-ID: <20030511012100.GA36510@webserver.get-linux.org> In-Reply-To: <20030511100512.L30401-100000@hewey.af.speednet.com.au> References: <20030510224249.M41068@enabled.com> <20030511100512.L30401-100000@hewey.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 11, 2003 at 10:12:09AM +1000 or thereabouts, Andy Farkas seemed to write: > On Sat, 10 May 2003, admin wrote: > > > what is the easiest way to do this not allow shell and ssh access to the box? > > Don't run sshd. > > or possibly > > man 5 nologin That's for all logins. I think he wants nologin(8). Just set their shell to /sbin/nologin and you're good to go. HTH, -- Josh > > -- > > :{ andyf@speednet.com.au > > Andy Farkas > System Administrator > Speednet Communications > http://www.speednet.com.au/ > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030511012100.GA36510>