...
Following along the lines of allowing groups allow a specific user, in this case serveradmin, to manage their own WordPress instance log in a a sudo enabled user,WordPress.
Code Block | ||
---|---|---|
| ||
cd /home/www.krypton.com/www/ sudo chown -R serveradmin:www-data:wgkrypton ./blog/ sudo chmod -R o-rwx ./blog/ # No users except nobody and those belong to the group wgkrypton will be granted access. sudo chmod -R u-w ./blog/ sudo chmod -R g+w ./blog/ # Any user belonging to the wgkrypton group can manage the site |
...