2009/2/28 Stuart Henderson <s...@spacehopper.org>: > On 2009-02-28, Juan Miscaro <jmisc...@gmail.com> wrote: >> What is the standard way of generating hashes (for me it's for >> passwords) in OpenBSD? B I once used userdbpw but it's package >> (courier-authlib-userdb) conflicts with another package I have >> installed. B So I'm looking for a cleaner, standard method. B Thanks. > > encrypt(1) is in base and covers MD5/Blowfish/DES. or there's htpasswd, > handling SHA/apache modified MD5/Blowfish/DES. if you need other hashes, > dovecotpw (from the dovecot package) knows of many more.
Thanks everyone for the replies. In the end I discovered that the courier-authlib package has the utility 'authpasswd' which fits the bill. -- jm