info-cvs
[Top][All Lists]
Advanced

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

RE: Modifying passwd file


From: Koziel, Ryan
Subject: RE: Modifying passwd file
Date: Thu, 5 Apr 2007 13:54:34 -0500

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

-Ryan 

________________________________

From: address@hidden
[mailto:address@hidden On
Behalf Of Simon Renshaw
Sent: Thursday, April 05, 2007 1:50 PM
To: address@hidden
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: address@hidden
[mailto:address@hidden On
Behalf Of Jeffrey C. Baldwin
Sent: 5 avril, 2007 14:39
To: address@hidden
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs
  




reply via email to

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