SUMMARY: ftp-only account

From: David Stern (
Date: Thu Jan 04 1996 - 15:27:27 CST

Original posting:

> >Without using additional software (such as wu-ftp, tcpwrapper), is it
> >possible to create an account that a user can only ftp into but cant
> >telnet, rsh or rlogin?
> >
> >I've found a hackey way by giving the account a real shell (/bin/csh) to
> >satify the general restrictions of ftpd but set up a .login and .cshrc file
> >not owned by him that closes the connection. Is there a better way?
> >

Here's where I claim my New years hangover got to me. DOH!!
As many quickly replied (and I should have remember) I just nee to
put an entry in /etc/shells that is the "phony shell" listed in the
users /etc/passwd file. In this case I created the following shell:
#! /bin/sh
exit 0

Thanks to the following people (and I'm sure there will be more response to

Mike Fletcher <>
Michael Maciolek <> (Johnie Stafford)
"Jim Meritt" <> (William C. DenBesten)

Dave Stern Software Productivity Consortium
Information Services Division 2214 Rock Hill Road Herndon, Virginia 22070

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:50 CDT