[Top][All Lists]

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

Re: commit as root.

From: Philip Lijnzaad
Subject: Re: commit as root.
Date: 11 Oct 2001 16:42:17 +0100

> Hello everybody!

> I have a question. I need to work as root in a specific project. 

(I would try to find another solution, frankly)

> But, when I
> try to commit the modified files, I get a message telling that commit cannot
> be done as root. 

Are you using the :ext: protocol, or direct file access? If the latter,
switch to :ext:. If the former, are you using rsh (boo! hiss! all the more
if you're root, although usually  root acccess for the r-commands is
disabled)? If so, put something like the following in your .ssh/config:

Host rootcvs
  User root

Then check-out as:

 cvs -d ':ext:rootcvs:/path/to/cvsroot' co the-module

(and/or change the contents of CVS/Root to this above string).  From this on,
things should work, provided that ssh allows root access (which I'm not at
all sure about). You will probably want to add localhosts's to
cvsroot host's ~root/authorized_hosts, and also you'll want to run an
ssh-agent to take care of passwords.


The mail transport agent is not liable for any coffee stains in this message
Philip Lijnzaad, address@hidden European Bioinformatics Institute,rm A2-08
+44 (0)1223 49 4639                 Wellcome Trust Genome Campus, Hinxton
+44 (0)1223 49 4468 (fax)           Cambridgeshire CB10 1SD,  GREAT BRITAIN

reply via email to

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