allow SFTP FTP but not SSH. Can ??

M E Fieu sibu168 at yahoo.com
Mon May 2 17:29:56 UTC 2005


> > ftp://bob:bobpassword@ftpserver
> > 
> > Are you sure this is the way??
> 
> Yes. But your FTP server seems to require a valid
> shell - which is good.
> Edit /etc/shells and add /bin/false to the list.
> Then you will succeed
> with above.
> 

Hi..Alex.. Thanks it works.  But I found that it works
for FTP only.  if I add a /bin/false at the end of the
user account /etc/passwd entries.  The SSH will not
work but SFTP will not work as well.  Is that what you
encounter too ?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the users mailing list