View Single Post
  #1   (View Single Post)  
Old 11th November 2008
phreud phreud is offline
Port Guard
 
Join Date: Nov 2008
Posts: 22
Default FTP users sharing same home directory

I've been thinking about how to setup my VSFTP server the way I want it. I want several users being able to login (not anonymously) with username and password. All users should be "chrooted" to the same directory and confined there.

I was thinking of setups using all kinds of tricks, like virtual users or chrooting everybody to a predefined directory. But, when I think about it, can't I just add users with adduser, giving them the same home dir and no shell (-s nologin)? Are there any problems with this? Will they be able to login at all if I don't set a shell?

Should I be using the -d flag to specify the (shared) home directory? I'm not really sure I understand the semantics in the man page.

Thanks in advance!
Reply With Quote