Hi all, (Running: 3.0.5.4p8 on Ubuntu 14.04). I have a deployment system that requires that the shell user's home dir is the website dir, ie: /var/www/clients/clientX/webY. In the past this has been easy enough: simply setting "Chroot Shell" to "None" when creating the shell user would set the correct home dir. But in 3.0.5.4p8, that setting seems to make no difference - a separate "home/" folder is still created within the website dir. How can I get the old behaviour back, in order to set the right home dir? Many thanks, Geoff.
You can't at the moment, we had to change the behaviour has a lot of scripts fail when they can't write into the home directory of a user and /var/www/clients/clientX/webY is not writable. Maybe we can offer a option in future to make this configurable. Currently you can only change the home dir on the shell in /etc/passwd directly.
Thank you @till. If I make the change in /etc/passwd directly, will that get lost in the next resync operation? Thanks.