Re: allow SFTP FTP but not SSH. Can ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mo, den 02.05.2005 schrieb M E Fieu um 16:57:

> > # grep bob /etc/passwd
> > 
> > bob:x:500:500:Bob Wilkins:/home/bob:/bin/false
> > 
> > The /bin/false at the end is what does it.
> > 
> 
> No.. I tried this, but after that the FTP for this
> account does work anymore.
> 
> 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.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 18:04:31 up 2:10, 18 users, 0.01, 0.09, 0.08 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux