On Tuesday, February 29, 2000 7:49 PM, [EMAIL PROTECTED] 
[SMTP:[EMAIL PROTECTED]] wrote:
>
>
> Hi!
>
> I am using CVS 1.10 with pserver on AIX 4.3
>
> The system administrator at my site prefers not to run cvs as root.
> In /etc/inetd.conf
> we got
>
> "cvspserver stream tcp nowait cvsowner /usr/local/bin/cvs cvs
> --allow-root=/usr/local/newrepos pserver"
>
> note the use of "cvsowner" instead of "root".
>
> What are the pro/cons of running CVS as root/a user account?
> The repository is owned by the "cvsowner" user.
>
>From my experience of doing the same thing there are three things to be 
aware of:
1. if you are not running as root, the system passwords cannot be accessed 
(if they are in a shadow file and I assume from what I have seen here that 
AIX is similar).  This means that you have to create a CVSROOT/passwd file 
which should NOT be under CVS control.
2. once you use a CVSROOT/passwd file, the required format changes between 
1.10 and 1.10.7 (I'm not sure which version changed the format).  The 
format you will need to use is:
user:password:cvsowner
3. once you are running as cvsowner, any loginfo, commitinfo or taginfo 
scripts may need to be modified to take the $USER cvs variable as the 'id' 
and 'whoami' commands will return cvsowner.

Those are the only issues I am aware of.  We also set the repository 
permissions to 2755.

***************************************************************
Chris Cameron                    Open Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]                           P.O.Box 10-388
      +64 4 495 8403 (DDI)                          The Terrace
fax:  +64 4 495 8419                                 Wellington
cell: +64 21 650 680                                New Zealand
Life, don't talk to me about life ....(Marvin - HHGTTG)

Reply via email to