how give permission for reset apache without admin permission?
up vote
0
down vote
favorite
my user don't have admin permission and i do not want to give admin permission to them.
how give permission that they see log and reset and change config in apache?
is there apache admin group that add user to this group?
permissions apache2 groups
New contributor
add a comment |
up vote
0
down vote
favorite
my user don't have admin permission and i do not want to give admin permission to them.
how give permission that they see log and reset and change config in apache?
is there apache admin group that add user to this group?
permissions apache2 groups
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
my user don't have admin permission and i do not want to give admin permission to them.
how give permission that they see log and reset and change config in apache?
is there apache admin group that add user to this group?
permissions apache2 groups
New contributor
my user don't have admin permission and i do not want to give admin permission to them.
how give permission that they see log and reset and change config in apache?
is there apache admin group that add user to this group?
permissions apache2 groups
permissions apache2 groups
New contributor
New contributor
New contributor
asked Nov 26 at 13:35
Sara Azizi
1
1
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
In order to let the user see the log files, I would suggest changing the group ownership of /var/log/apache and all files in that directory to group www
. You'll likely have to edit /etc/logrotate.d/apache2
to keep the new group permissions. Then add your user to the group www
Use sudo
permissions to let the user reset the service. Using visudo
, add a line like username ALL=(root) /usr/sbin/service apache2 start,/usr/sbin/service apache2 stop,/usr/sbin/service apache2 restart
.
I would not allow the user to edit the apache config file. It would be difficult to give them permissions to do this without the possibility of them breaking system security.
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
In order to let the user see the log files, I would suggest changing the group ownership of /var/log/apache and all files in that directory to group www
. You'll likely have to edit /etc/logrotate.d/apache2
to keep the new group permissions. Then add your user to the group www
Use sudo
permissions to let the user reset the service. Using visudo
, add a line like username ALL=(root) /usr/sbin/service apache2 start,/usr/sbin/service apache2 stop,/usr/sbin/service apache2 restart
.
I would not allow the user to edit the apache config file. It would be difficult to give them permissions to do this without the possibility of them breaking system security.
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
add a comment |
up vote
0
down vote
In order to let the user see the log files, I would suggest changing the group ownership of /var/log/apache and all files in that directory to group www
. You'll likely have to edit /etc/logrotate.d/apache2
to keep the new group permissions. Then add your user to the group www
Use sudo
permissions to let the user reset the service. Using visudo
, add a line like username ALL=(root) /usr/sbin/service apache2 start,/usr/sbin/service apache2 stop,/usr/sbin/service apache2 restart
.
I would not allow the user to edit the apache config file. It would be difficult to give them permissions to do this without the possibility of them breaking system security.
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
add a comment |
up vote
0
down vote
up vote
0
down vote
In order to let the user see the log files, I would suggest changing the group ownership of /var/log/apache and all files in that directory to group www
. You'll likely have to edit /etc/logrotate.d/apache2
to keep the new group permissions. Then add your user to the group www
Use sudo
permissions to let the user reset the service. Using visudo
, add a line like username ALL=(root) /usr/sbin/service apache2 start,/usr/sbin/service apache2 stop,/usr/sbin/service apache2 restart
.
I would not allow the user to edit the apache config file. It would be difficult to give them permissions to do this without the possibility of them breaking system security.
In order to let the user see the log files, I would suggest changing the group ownership of /var/log/apache and all files in that directory to group www
. You'll likely have to edit /etc/logrotate.d/apache2
to keep the new group permissions. Then add your user to the group www
Use sudo
permissions to let the user reset the service. Using visudo
, add a line like username ALL=(root) /usr/sbin/service apache2 start,/usr/sbin/service apache2 stop,/usr/sbin/service apache2 restart
.
I would not allow the user to edit the apache config file. It would be difficult to give them permissions to do this without the possibility of them breaking system security.
answered Nov 26 at 13:56
Doug O'Neal
26115
26115
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
add a comment |
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
this case have 20 machin and it's difficult.is there a group that apache is a member of it?
– Sara Azizi
Nov 26 at 14:28
add a comment |
Sara Azizi is a new contributor. Be nice, and check out our Code of Conduct.
Sara Azizi is a new contributor. Be nice, and check out our Code of Conduct.
Sara Azizi is a new contributor. Be nice, and check out our Code of Conduct.
Sara Azizi is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096173%2fhow-give-permission-for-reset-apache-without-admin-permission%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown