Operation not permitted
Hie iam receiving this error, iam using RHEL 5.3
Starting BackupPC: runuser: cannot set groups: Operation not permitted I can start the service as root user but i cannot start it as backuppc. i have changed the permission on the script from root to backuppc. But still i cannot start the service backuppc as backuppc user |
Quote:
You have put this here already http://www.linuxquestions.org/questi...ed-4175454506/ |
operation not permitted
user backuppc has groups apache and backuppc
|
Have you started the service using sudo?
If it is regular user, it should use sudo. |
Iam using RHEL 5.3
---------- Post added 03-18-13 at 01:14 PM ---------- the service backuppc is not running |
Does it give this error too?
BackupPC startup failed How do you start the service? |
[backuppc@machine_name ~]$ /etc/init.d/backuppc start
Starting BackupPC: runuser: cannot set groups: Operation not permitted [FAILED] |
and what does it give if you enter
$ sudo /etc/init.d/backuppc start or $ sudo service backuppc start |
Iam putting my root password by still giving the below error
[backuppc@wanderers ~]$ sudo /etc/init.d/backuppc start Password: Sorry, try again. |
Do not put root password, see what is it saying.
Put your user password there. |
[backuppc@wanderers ~]$ sudo /etc/init.d/backuppc start
Password: backuppc is not in the sudoers file. This incident will be reported. |
Open the file /etc/sudoers
Add following line in it Code:
backuppc ALL=(ALL) ALL |
thank you very much it's working
|
All times are GMT -5. The time now is 10:08 AM. |