LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2013, 03:55 AM   #1
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Rep: Reputation: Disabled
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.
 
Old 11-28-2013, 04:02 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394
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.
 
Old 11-28-2013, 05:31 AM   #3
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
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.
 
Old 11-28-2013, 05:47 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394
Quote:
Originally Posted by Joaquin View Post
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.
 
Old 11-28-2013, 06:36 AM   #5
Joaquin
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
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.
 
Old 11-28-2013, 06:48 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394Reputation: 2394
Quote:
Originally Posted by Joaquin View Post
Many thanks.
You're welcome.


Quote:
Originally Posted by Joaquin View Post
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
 
  


Reply

Tags
commit, cvs, permission, permission denied


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cvs [commit aborted]: 'root' is not allowed to commit files rakesh@linuxforum Linux - Newbie 7 09-26-2013 04:53 PM
cvs commit error ShaqDiesel Programming 3 05-28-2009 09:06 PM
cvs [commit aborted]: 'root' is not allowed to commit files r_ramya06 Linux - Newbie 5 07-08-2008 10:04 AM
CVS won't allow "root" to commit changes RFlaugher Linux - Software 3 10-07-2004 03:43 PM
emailing on cvs commit allan_y Linux - Software 2 07-02-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration