allow SFTP FTP but not SSH. Can ??
Alexander Dalloz
ad+lists at uni-x.org
Mon May 2 16:05:27 UTC 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050502/4824340a/attachment-0001.sig>
More information about the fedora-list
mailing list