Re: Trouble using encrypted passwords

David S Gathright <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Organization LASP - University of Colorado
Message-ID <1068490311.1169.49.camel@red5>
No, I didn't try that, mostly because I don't have root access on that
machine. 

What I guess is most confusing to me is that there are three pieces of
information:  the raw password, the salt, and the encrypted password. 
Now, in the MD5 scheme, the salt is stored with the encrypted password
($1$salt$enc_password).  However, in the crypt() scheme, there is no
specified way to store the key, so, how is that done?

Thanks for the try, though.  I can resort to that if needed, but I'd
rather not if there is a simpler way.

DSG

On Mon, 2003-11-10 at 12:38, Pankaj K Garg wrote:
> David S Gathright wrote:
> 
> > Hi, all.
> > 
> > I'm using a vanilla GNATS 4.0 installation on a Solaris 5.9 box.  For
> > some reason, MD5 encryption isn't working for me, so I'm trying standard
> > UNIX crypt() encryption.  I'm rather perplexed at the statement in
> > Appendix C of the gnats documentation, which states that "crypt()
> > passwords can be generated by using standard UNIX passwords tools". 
> > What tools are these (and do you have any examples of how I can use
> > them)?
> 
> Did you try generating the passwords using the 'passwd' command and then 
> cuting and pasting from /etc/passwd or /etc/shadow?
-- 
David S Gathright <[email protected]>
LASP - University of Colorado
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.