zm.config - users

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
hk_niko
Posts: 36
Joined: Mon Feb 20, 2012 4:29 pm

zm.config - users

Post by hk_niko »

Hi all
I want to know if it was possible to add more than the user "www-data" user "root" file zm.config.

regard
jonathancnewcomb
Posts: 38
Joined: Tue Sep 18, 2012 2:00 pm

Re: zm.config - users

Post by jonathancnewcomb »

Yes, a file can only have 1 owner, but you can assign users to groups and give them rights if you want. Be careful though, configuration files generally are very restricted. You can see the following documentation on how to add users to groups:


http://www.cyberciti.biz/faq/howto-linu ... -to-group/
User avatar
hk_niko
Posts: 36
Joined: Mon Feb 20, 2012 4:29 pm

Re: zm.config - users

Post by hk_niko »

sorry for the question,
if I wanted to change the permissions of the user www-data and give it all the permissions as the root user?
Basically I want that www-data can execute certain shell script as if it were a root user, directorty in / var / www.
I'm looking on google, but if you can give me some tips I'd be grateful :mrgreen:

Regards
Locked