[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: answer to query regarding problems using commit as root

From: Daniel Beckham
Subject: Re: answer to query regarding problems using commit as root
Date: Thu, 28 Jun 2001 09:27:27 -0500

Of course, you can do what you wish.. simply modify the source code of cvs.
The GNU license specifically allows that.  As a matter of fact, I believe
there is a answer in a FAQ or in some document in the distribution that
explains exactly how to turn on behavior that allows root to commit files.
It's been discussed several times in this list and I'm sure someone might be
able to point you in the right direction.


----- Original Message -----
From: "pavan kumar korlepara" <address@hidden>
To: <address@hidden>
Sent: Thursday, June 28, 2001 6:57 AM
Subject: answer to query regarding problems using commit as root

> its there that cvs doesnot allow you to commit files
> as root. but if u still want to do ur development work
> as root, whatever may be the reasons, i dont see any
> problems, if its ok with the user. linux users are
> free to do whatever they want and however they like.
> thatz the beauty of it. so if u like just follow the
> instructions below.. and i think ur purpose will be
> solved..
> What i have tried is.. u work as root but login into
> cvs as some other user [who holds the same priveleges
> as root], to just let cvs know that the user is not
> root. The 'cvs login' command is only allowed when
> using the pserver method. so therez no big deal
> setting up pserver, even if its ur local m/c. so i
> think this clears the big idea...
> This doesnt require u to recompile ur cvs source for
> ur m/c.
> [NOTE: I use the RedHat 7.1 linux distribution and
> this works for me ]
> so follow the instructions below...
> 1] complete all the formalities for setting up ur cvs
> repository, cvs only prohibits commit operations for
> root user.
> 2] create a new user a/c on ur m/c say 'troot' [temp
> root] and set its primary group to root.
> 3] now setup the cvspserver for using cvs through the
> pserver method. The procedures for setting up pserver
> have been well documented in various FAQs for both
> inetd and xinetd [even in this faq - how to setup a
> pserver]. Remember to restart the xinetd deamon after
> u setup the cvspserver service.
> 4] now setup the CVSROOT environment variable as
> CVSROOT=:pserver:address@hidden:/root/some-dir/.../cvsroot
> 5] now do
>         'cvs login' .. it will prompt for a password..
> enter it.. and there u r logged into the cvs as troot.
> 6] now do 'cvs checkout module-name' .. and now try
> making changes in the files and also commit them..
> i believe there wont be any problems doing this, if
> any then drop me a mail at address@hidden
> K.Pavan Kumar
> Impetus Infotech Pvt (India) Ltd,
> Indore, India.
>         - Parachutes work well when open, so do minds...
> =====
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]