I used htpasswd -n to output the user:passwd information and placed that
into the passwd file for CVS.

-Ryan 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Simon Renshaw
Sent: Thursday, April 05, 2007 1:50 PM
To: [email protected]
Subject: RE: Modifying passwd file



Thanks.

 

I tried that but the encrypted string in /etc/shadow is a lot longer
than what is in a passwd file in another repo.

 

It look like that in the other file:

 

simon:TsNInUhhgjEVM

 

I remember running a command that added the user to the file, but I
don't remember what I did.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey C. Baldwin
Sent: 5 avril, 2007 14:39
To: [email protected]
Subject: Re: Modifying passwd file

 

Here's how I do it on my Sun box

1.      If necessary, reset the persons password 
2.      Look in the /etc/shadow file and find the  username  you are
working with 
3.      Copy the users encrypted password from /etc/shadow (this will be
all characters between the first and second colon) 
4.      Go into /opt/cvsroot/CVSROOT and copy the users info into this
file (or replace as necessary), in the following format
        <username>:<encrypted password copied from
/etc/shadow>):<username> 
5.      Save and exit 



Simon Renshaw wrote: 

Hi,
 
I need to add users to a CVS passwd file.
 
How do I do that? I did it last year but now I don't remember what I
did.
 
Thanks!
Simon
 
 
_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs
  


_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to