nologin access

Joshua Oreman oremanj at webserver.get-linux.org
Sat May 10 18:20:19 PDT 2003


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 at speednet.com.au
> 
>         Andy Farkas
>     System Administrator
>    Speednet Communications
>  http://www.speednet.com.au/
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list