Re: allow ftp but not ssh?
Hi,
> What I'm after is disabling ssh access for ftp users.
> I did it by adding AllowUsers users in sshd_conf.
>
> Any other ways to do it?
Yup, hand out "/bin/false" as shell and add that to /etc/shells (perhaps
depending on the ftp server in use? anyone for an ftp server with
virtual users?)
There's also "/bin/true" which supposedly adds some functionality, but I
don't really feel like searching the archives right now.
Oh, got it already (gotta love Google ;-):
http://archives.neohapsis.com/archives/linux/debian/2003-q1/0327.html
No big advantage, then.
HTH... Nico
Reply to: