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!
|