Hi guys, I'm not sure if what I'm doing is possible or considered secure so here it goes. I'm in the process of trying to set up a webserver with home directories residing in /var/www. Users will have their default shell set as nologin and be logging in through sftp. When I add a user, I would like the newly created directories to be owned by root:www_data and writable by group.
Is this possible or asking for trouble?
Is this possible or asking for trouble?