• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 693
  • Last Modified:

cvs assign alias to user

i want to assign a user a role in my cvs

i created the user using :

cvs passwd -a john

cvs passwd -a -r administrator john

this gives admin privileges to user john; what other privileges can i give ?


Thanks for all ur help!!!!!!!!!!!!!!!!!!!!!!!!!
0
royalcyber
Asked:
royalcyber
  • 4
1 Solution
 
vijayprasadCommented:
Hi,

In cvsnt, the option r for passwd command means,

-r user
Alias username to real system user. Before a virtual (pserver) user can log in, the system needs to know which user account to use for that user.

This option aliases a CVS Username to System user. A cvs user is different from a system user. There is no necessary for a CVS user to be a system user.

> cvs passwd -a -r administrator john
Here this command says to alias john(CVS User) as the administrator(System User) for the log in.

I suppose you are using cvsnt in Windows box. If so, there should be one system user named administrator in your case.
 
As far as I know, there is no support for assigning roles to a CVS User.

Regards,
Vijay S.
0
 
vijayprasadCommented:
Hi,

Can you please explain the scenario / usage of setting such roles to the CVS User?

Regards,
Vijay S.
0
 
royalcyberAuthor Commented:
yes I am using CVS on windows 2003 server;

if i create 2 cvs users

1) john

2) mike

and I alias john to administrator user account ( belong to admin group)

and alias  mike to  a user account ( belonging to user group)


than what more features will john have than mike

why do we need to do this alias on windows ?  whats the benefit

Thanks for all your help!!!!!!!!!!!!
0
 
vijayprasadCommented:
Hi,

Its pretty clear from the comment given for the option itself.

" Before a virtual (pserver) user can log in, the system needs to know which user account to use for that user ".

CVS user (pserver) is a virtual user and doesn't belong to the system. When such user logs into the machine, system wants to know who is this and what all he can do. The answers for these questions are got from the aliasing made to the system user.

Regards,
Vijay S.
0
 
vijayprasadCommented:
Thanks RoyalCyber.

Cheers,
Vijay S.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now