[cvsnt] What Rights are Needed by CVS-NT RunAsUser?

Bo Berglund bo.berglund at telia.com
Wed Oct 26 18:30:27 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Wed, 26 Oct 2005 05:09:36 -1000, Richard Coad at HQ x4263
<RCoad at matson.com> wrote:

>Unfortunately we have no choice. The hosted machine cannot have a login
>account for every user so aliasing and pserver are the only option.  It's
>not my first choice of setups, but I can only do what the PHBs tell me to
>do.
>

Then use the methhod I have used on our server to get the UNIX guys on
board ('cvsserver' and 'repository' should of course be replaced with
the real names):

1. Create two users on the server called CVSUser and CVSAdmin.
2. Give CVSUser permissions on the repository except CVSROOT
3. Give CVSAdmin full permissions on the whole repository
4. Go to a command prompt on a PC on the server
5. Enter this to establish a connection string:
   set CVSROOT=:sspi:cvsserver:/repository
6. Now you are ready to add pserver users:
   cvs passwd -a -r YourUser CVSUser
7. Enter the password for the pserver connection for YourUser
8. To add more users repeat steps 6 and 7 as needed

Note that the names you give the users are completely arbitrary and
will only exist in the CVS context. The user account you alias these
users to must exist and be allowed access to the repository files.
If you want a pserver login to have admin access then you shoulkd
alias him to the CVSAdmin account. This account does not need admin
priviliges on the server PC, just full control on the complete
repository plus listing access to the tree leading down to the top of
the repository.

Now to check that the connection works, go to another command prompt
and enter these commands:
  set CVSROOT=:pserver:YourUser at cvsserver:/repository
  cvs login
  (enter password)
  cvs ls
Now you should get a dir listing of the repository top level, normally
just the dir CVSROOT if it is a new repository, but it show that you
have succeeded in connecting to the server using pserver and an
aliased user.


   

/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook