[svlug] how to allow a user to ftp but not login?

Bill Jonas bj at netaxs.com
Wed Jul 5 22:59:07 PDT 2000


On Wed, 5 Jul 2000, Daevid Vincent wrote:

>I want to create a user account that can ONLY ftp into my RH6.2 box, but not
>ssh/telnet or anything else.

I noticed you already have a solution which you posted to the list, but
I thought I'd share what my employer does.  The contents of the shell
script /usr/local/bin/ftponly, which is the shell for ftp only accounts:

#!/bin/sh
 
cat <<END
 
You have ftp access only.  Shell accounts are not supported. Send email
to support at LinuxForce.net if you have any questions.
 
END

Bill
-- 
>Ever heard of .cshrc?             | "Linux means never having to delete
That's a city in Bosnia. Right?    |  your love mail." -- Don Marti
(Discussion in comp.os.linux.misc  |  http://www.billjonas.com/
on the intuitiveness of commands.) |  http://www.harrybrowne.org/





More information about the svlug mailing list