Date: Thu, 9 Oct 2008 14:33:12 +0100 From: "Jeremy Hooks" <jeremyhooks@googlemail.com> To: "Martin McCormick" <martin@dc.cis.okstate.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Can an Account be Locked out for ssh but allow su? Message-ID: <bf2fbe6d0810090633vded063ch855565074cf7d22c@mail.gmail.com> In-Reply-To: <200810082054.m98KsJhR018475@dc.cis.okstate.edu> References: <200810082054.m98KsJhR018475@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Personally I prefer AllowUsers, as that denies all users except those specifically allowed. Deny/AllowGroups are useful too. 2008/10/8 Martin McCormick <martin@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@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?bf2fbe6d0810090633vded063ch855565074cf7d22c>