On Feb 20, 4:14*am, John Thompson <j...@vector.os2.dhs.org> wrote:
> On 2009-02-19, asdasdas <dsfs...@sdfsdf.com> wrote:
>
> > I would like to share some of my files with family and close friends. *I
> > am familiar with FTP servers for Windows such as Serv-U and WarFTPd, but
> > am not too familiar with how to setup an FTP service in UNIX or Linux.
> > What is currently the most secure and easy to administer FTP daemon for
> > *nix?
>
> ftp is not especially secure, and not only just because it transmits
> usernames and passwords as plain text. I'd set up ssh instead and use
> scp or sftp to transfer files. Windows users can use "WinScp" (available
> here:http://winscp.sourceforge.net), with a pointy-clicky "Norton
> Commander" type gui interface.
>
> --
>
> John (j...@os2.dhs.org)
-Yes, if you use sftp, It's more secure and you will not have to
install new applications for FTP, sftp installed by default on most
Linux distributions, If you want your users to only sftp to your
servers and not ssh so they can'r have a complete shell which enables
them to type extra commands, You can strict them to use only sftp to
move data and not ssh, Change the default shell in the /etc/passwd for
that user like this, suppose the passwd file entry like this,
hanys:x:538:543::/home/hanys:/bin/bash change /bin/bash to
hanys:x:538:543::/home/hanys:/usr/bin/sftp
type which sftp to know where does your distribution put sftp binary.
And you may chroot them also easily with some extra work, search about
chroot jail and ssh or sftp,
Ask if you need help to make specific permissions to make for example
shared directories.
regards,