ftp with 'virtual' users?

jae

Golden Member
Jul 31, 2001
1,034
0
76
www.facebook.com
i want to share some files with a former co-worker of mine. I figured plain ftp might be simpler and faster for him. I installed vsftpd, but everything I find seems to say that I need to make an user for him on my server. Is this true?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
While not bullet proof you can set the login shell to /bin/false so that he can't open a shell on your server. That still gets him SSH access with allows port forwarding and other non-shell related features.

If you're just trying to share a few files with him I would look into using Google Drive or Dropbox, that will be far more palatable to someone with limited computer experience.
 

Sheep221

Golden Member
Oct 28, 2012
1,843
27
81
If you don't want to use any specific accounts and passwords for your friend, you still need to create account exactly called "Anonymous" and specify the folder for it. In this case if he types IP/domain of your FTP server he gets in without password and logging in, many web browsers and file managers logon to free FTP servers in anonymous mode by default.