Can an Account be Locked out for ssh but allow su?

Jeremy Hooks jeremyhooks at googlemail.com
Thu Oct 9 13:33:17 UTC 2008


Personally I prefer AllowUsers, as that denies all users except those
specifically allowed.  Deny/AllowGroups are useful too.

2008/10/8 Martin McCormick <martin at dc.cis.okstate.edu>

> Henrik Hudson writes:
> > Check the sshd_config man page for AllowUsers and DenyUsers directives.
>
> Many thanks. DenyUsers did the trick.
> _______________________________________________
> 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