william at palfreman.com
Sun May 11 02:29:54 PDT 2003
On Sun, 11 May 2003, Andy Farkas wrote:
> 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
To disable logins on individual accounts, set the shell for that account
to /sbin/nologin. See man 8 nologin. You can also set the AllowUsers
keyword in /etc/ssh/sshd_conf, to allow console logins but to only allow
specific users to log in using ssh.
W. Palfreman. I'm looking for a job. Read my CV at:
Tel: 0771 355 0354 www.palfreman.com/william/cv-wfp2.html
More information about the freebsd-questions