Re: [lopsa-tech] Generating hashed passwords

2010-05-22 Thread James R Grinter
On 21/05/2010 20:10, Matt Lawrence wrote: > This is probably a really simple question to answer. I would like to > generate a password hash programatically that can be pushed out to a bunch > of Linux servers. Writing the code to generate a random password and then > mailing it to the person is e

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Mathew Snyder
On Fri, May 21, 2010 at 5:05 PM, Robert Hajime Lanning wrote: > Mathew Snyder wrote: >> >> I think I know the answer to this but I'm asking just to make sure. >> Can the salt be *anything*? >> >> -Mathew > > up to eight characters from [./0-9A-Za-z] > > -- > END OF LINE >       --MCP > ___

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Robert Hajime Lanning
Mathew Snyder wrote: > > I think I know the answer to this but I'm asking just to make sure. > Can the salt be *anything*? > > -Mathew up to eight characters from [./0-9A-Za-z] -- END OF LINE --MCP ___ Tech mailing list Tech@lopsa.org http://l

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread seph
openssl passwd -1 seph Matt Lawrence writes: > This is probably a really simple question to answer. I would like to > generate a password hash programatically that can be pushed out to a bunch > of Linux servers. Writing the code to generate a random password and then > mailing it to the p

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Mathew Snyder
On Fri, May 21, 2010 at 3:44 PM, Robert Hajime Lanning wrote: > Luke Hankins wrote: >> * Robert Hajime Lanning wrote: >>> libc crypt() call. >> >> What he said, but if you need further pointers for your language of choice, >> try googling for [encrypt md5 password $LANGUAGE] and you'll get example

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Robert Hajime Lanning
Luke Hankins wrote: > * Robert Hajime Lanning wrote: >> libc crypt() call. > > What he said, but if you need further pointers for your language of choice, > try googling for [encrypt md5 password $LANGUAGE] and you'll get examples > in the first few hits, I'm sure. > > -Luke #! /usr/bin/perl pr

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Robert Hajime Lanning
libc crypt() call. Pass in the salt prefixed with "$1$" (the key for telling crypt to use the MD5 algorithm.) http://linux.die.net/man/3/crypt Matt Lawrence wrote: > MD5. It appears to be the standard (and default) that Linux has used for > years now. > > On Fri, 21 May 2010, Robert Hajime L

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Matt Lawrence
MD5. It appears to be the standard (and default) that Linux has used for years now. On Fri, 21 May 2010, Robert Hajime Lanning wrote: > MD5 or crypt? > > Matt Lawrence wrote: >> This is probably a really simple question to answer. I would like to >> generate a password hash programatically tha

Re: [lopsa-tech] Generating hashed passwords

2010-05-21 Thread Robert Hajime Lanning
MD5 or crypt? Matt Lawrence wrote: > This is probably a really simple question to answer. I would like to > generate a password hash programatically that can be pushed out to a bunch > of Linux servers. Writing the code to generate a random password and then > mailing it to the person is easy

[lopsa-tech] Generating hashed passwords

2010-05-21 Thread Matt Lawrence
This is probably a really simple question to answer. I would like to generate a password hash programatically that can be pushed out to a bunch of Linux servers. Writing the code to generate a random password and then mailing it to the person is easy, I just don't know how to generate the has