[Top][All Lists]

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

Re: Accessing Remore repository as root

From: Larry Jones
Subject: Re: Accessing Remore repository as root
Date: Thu, 9 Nov 2000 11:55:59 -0500 (EST)

Sankar Das writes:
>   Now I want to know that if it possible to access remote
>  repository as 'root' from local machine. I have permission
>  to login as a root in remote machine. My problem
>  is that I can checkout the files but couldn't 'commit'.

Committing as root is generally reguarded as a very bad idea because
root is almost always a shared account and thus there's no way to know
which actual person committed the change.  CVS goes out of its way to
try to pin down an actual user name (e.g., if you log in as yourself and
then su to root, CVS will find the name you logged in as and allow the
commit to go through as that user), but if it can't, it disallows the
commit.  If you're sure you really want to allow it, you can comment out
the #define of CVS_BADROOT in options.h.  (You may have to do that on
the server as well as the client, I'm not sure off hand.)

-Larry Jones

I always send Grandma a thank-you note right away.  ...Ever since she
sent me that empty box with the sarcastic note saying she was just
checking to see if the Postal Service was still working. -- Calvin

reply via email to

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