I am working on a project in which a junior developer needs to FTP files onto the server and work in two separate directories that are at the same level on the server. Is is possible to assign BOTH the directories as home directories so when he logs in using FileZilla he sees both the directories listed?
So far I have not found a satisfactory answer anywhere. I am using this command:
useradd -d /path/to/homedir -s /sbin/nologin username
Where /sbin/nologin is a dummy shell I created because user is only allowed to login via FTP and has no shell access.