Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Dec 2000 14:00:03 -0700
From:      Joseph R Lewis <sharktooth@innocent.com>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        "Nicolai L. Brown" <nbrown@iowaone.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: scp only
Message-ID:  <3A314BD3.F97751AD@innocent.com>
References:  <20001208202307.0CE0E37B401@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Paul wrote:

>
> I would set the user's shell to /bin/false instead. I'm not sure
> how sshd will react to this though.

It returns a "permission denied".  If it can't find the shell, it will fail.
This will give no shell access.  This is, perhaps, the best method of removing
someones shell access.

> -Bill

Joe Lewis,
Web Developer, About, Web Services Division



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A314BD3.F97751AD>