[CentOS] vsftp vs shell logins

ryan ryanag at zoominternet.net
Mon Jan 30 02:57:46 UTC 2006


Simplest way I can think of - 

Use host keys instead of usernames and passwords to login via SSH. All vsftpd 
users will not be able to login via SSH with their user/pass.



On Sunday 29 January 2006 4:31 pm, techlist wrote:
> I need to be able to allow specific system accounts to ftp to a box.  As
> far as I can tell I have to give them a shell in /etc/passwd (i.e.
> /bin/bash) in order for their ftp login to work.  I do *not* however want
> them to be able to log into a shell or ssh session.  I cannot restrict by
> IP.  What's the best way to accomplish this?
>
> Thanks,
> Scott
>
>



More information about the CentOS mailing list