LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cvs [commit aborted]: 'root' is not allowed to commit files (https://www.linuxquestions.org/questions/linux-software-2/cvs-%5Bcommit-aborted%5D-root-is-not-allowed-to-commit-files-4175486124/)

Joaquin 11-28-2013 02:55 AM

cvs [commit aborted]: 'root' is not allowed to commit files
 
Hello,

I have installed Rancid e CVS.

When Rancid running does not perform commit files in CVS.

The error is as follows:' root 'is not allowed to commit files'

I think it is a permission problem.

How can I fix?

Someone can help?

Thanks.

druuna 11-28-2013 03:02 AM

You shouldn't be running this as root user, this from the RANCID/CVS Installation & Configuration Guide:
Quote:

The first thing to do is to create a new user called rancid because you should avoid running any applications with the root rights for security reasons.

Joaquin 11-28-2013 04:31 AM

Quote:

Originally Posted by druuna (Post 5071886)
You shouldn't be running this as root user, this from the RANCID/CVS Installation & Configuration Guide:

I do not think that it is important at this time to discuss what user install rancid.

I just want to figure out how to solve my problem.

druuna 11-28-2013 04:47 AM

Quote:

Originally Posted by Joaquin (Post 5071916)
I do not think that it is important at this time to discuss what user install rancid.

I just want to figure out how to solve my problem.

My remark isn't about installing rancid it is about running rancid.

- Installing rancid should be done as root (or using sudo to get root permissions).
- Running rancid should _not_ be done as root user.

Do read the pdf document I linked to.

Joaquin 11-28-2013 05:36 AM

Quote:

Originally Posted by druuna (Post 5071921)
My remark isn't about installing rancid it is about running rancid.

- Installing rancid should be done as root (or using sudo to get root permissions).
- Running rancid should _not_ be done as root user.

Do read the pdf document I linked to.

Excuse me.

I understood what you wanted to tell me.

So I had already rancid installed in / usr / local / rancid.

I then ran the following commands
  1. groupadd networkbackupadm
  2. useradd -g networkbackupadm -c "Networking Backups" -d /usr/local/rancid rancid
  3. chmod 770 /usr/local/rancid/
  4. chown -R rancid:netadm /usr/local/rancid/
  5. chmod 0640 /usr/local/rancid/.cloginrc

and then I run rancid application with rancid user.

Your advice turns out to be very useful. If you have other tips are welcome.

Many thanks.

druuna 11-28-2013 05:48 AM

Quote:

Originally Posted by Joaquin (Post 5071947)
Many thanks.

You're welcome.


Quote:

Originally Posted by Joaquin (Post 5071947)
Your advice turns out to be very useful. If you have other tips are welcome.

I do; If this issue is answered to your satisfaction: Put up the [SOLVED] tag.

- above the first post -> Please Mark this thread as solved if you feel a solution has been provided.
- -or- -
- first post -> Thread Tools -> Mark this thread as solved

Never mind ;)


All times are GMT -5. The time now is 04:24 PM.