On Tue, Jun 04, 2002 at 09:58:55AM -0400, Jon McCain wrote: > > > > Renato Lozano wrote: > > > > Hi All, > > > > I am trying to implement a way of transfering files securely over the ------------------------------------snip------------------------
> > You can remove the sftp-server program to disable sftp but you can't > turn off the scp commands. They are part of ssh. So someone could > still use something like winscp and be able to browse everything. > > You can "break" scp by making the users shell a menu script (i.e. > /usr/bin/yourmenu instead of /usr/bin/bash) so they can not get to a $ > prompt. You also have to define your menu script as a shell > (/etc/shell) so regular ftp will still work. In proftpd.conf: RequireValidShell off ;-) -- Easter-eggs Spécialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76 mailto:[EMAIL PROTECTED] - http://www.easter-eggs.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]