[oclug] ProFTP

Dan Cardamore wombat at hld.ca
Mon Feb 12 09:41:05 EST 2001


You need to use this directive:

RequireValidShell off

Dan

On Mon, Feb 12, 2001 at 08:59:59AM -0500, Collin McCrank wrote:
> Hello,
> 
> I have recently setup proftp and have a configuration question and I
> hope somebody out there has a solution for me.
> 
> Here is the problem.   I used to have wu-ftp installed and I set the
> default shell to be ftponly (I will show this file later) this basically
> didn't allow any of the ftp users to log onto the machine except for
> when they ftp.
> 
> Now when I try to do the same with proftp it won't allow the user to
> logon unless I set the default shell to something like bash or csh.
> I don't like this as I would prefer that the ftp users only be able to
> logon using ftp.
> 
> Here is a sample entry from my passwd file
> 
> rob:x:517:517::/home/warez:/bin/ftponly
> 
> And here is the ftponly file located in /bin
> 
> ***********************
> 
> #!/bin/sh
> #
> # ftponly shell
> #
> trap "/bin/echo Sorry; exit 0" 1 2 3 4 5 6 7 10 15
> #
> IFS=""
> Admin=webmaster at mccrank.com
> System=`hostname`
> #
> /bin/echo
> /bin/echo
> "********************************************************************"
> /bin/echo "    You are NOT allowed interactive access to $System."
> /bin/echo
> /bin/echo "     User accounts are restricted to ftp and web access."
> /bin/echo
> /bin/echo "  Direct questions concerning this policy to $Admin."
> /bin/echo
> "********************************************************************"
> /bin/echo
> #
> # C'ya
> #
> exit 0
> 
> 
> **********************************************************************
> 
> Any thoughts or suggestions?
> 
> Thanks
> Collin


________________________________________________________________
 Dan Cardamore          wombat at hld.ca         http://www.hld.ca
 GnuPGP Key:            mailto:wombat at hld.ca?subject=sendpgpkey
 Email Stats:           http://www.hld.ca/~wombat/emailStats
 Opensource projects:   http://www.hld.ca/opensource
 My Groupware project:  http://www.gwpeople.com
________________________________________________________________



More information about the OCLUG mailing list