info-cvs
[Top][All Lists]
Advanced

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

RE: Modifying passwd file


From: Simon Renshaw
Subject: RE: Modifying passwd file
Date: Thu, 05 Apr 2007 14:50:11 -0400

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]