Have you used php from the command line? Or you could write a small perl
script to do it for you.
On 7/17/07, Pádraig Brady <P at draigbrady.com> wrote:
>> Thomas Pedoussaut wrote:
> > It's been years since I used crypt for my passwords.
> > Now I've to build some tools to manipulate another shadow-like database
> > for dovecot, and I can't find how to encrypt my passwords. The result
> > looks like $1$UYiAOVKB$OPYATv8K8HliDjWVLx1eQ0
> > For the moment the crypt function of php does the job, but I'd like to
> > find something more command-line oriented as 'passwd' doesn't support
> > alternatives shadow-file.
> > Any help appreciated as Mr Google is a bit useless.
>> mkpasswd "password" -Hmd5
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!