At 10:17 PM 4/5/00, Derek Scherger wrote:
>Gerhard Sittig wrote:
> >
> > On Tue, Apr 04, 2000 at 13:50 +0300, Marius Oancea wrote:
> > > Hello cvs expoerts,
> > > If I want to use cvs from my workstation ( and here I am root )
> > > how can I commit then changes to the server? If I am a normal
> > > user ... no problem, but if I'm root => error: cannot commit as
> > > root.
> >
> > There's something wrong in your enterprise. Go and read some
> > basic doc about how to deal with priviledges! And don't tell
> > your other team members to ask the same question, please :>
>...
>I think there might be a legitimate reason to commit files as root. I'm
>in the middle of attempting to put my system configuration files (this
>/etc/*) into CVS. These files are owned by root, managed by root, etc.
>but I'd still like to have a root-only repository that will allow me to
>make changes as root. I can see problems with allowing root to use
>something like :pserver: where the root password is flying around in the
>clear but for a local repository I really don't see any problems.
So, maintain the files as non-root and use make or a shell script to
*install* the files. No need to commit as root -- must be root to
install. It's a "build" issue -- not a versioning issue.
-Garry Williams