Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 14:16:24 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   HELP: Howtwo create a passwd-suitable hash for usage with psswd -H 0?
Message-ID:  <20160218141624.5f560f2d@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | raw e-mail | index | archive | help
Hello out there,

I run into a problem and digging for a solution didn't work out.

Problem: I need a string that reflects the hashed password for the usage with 

passwd -H 0

I think the procedure is using 

sha512 -s Password

and using this output for further processing, but how?

I looked for a possibility to emmit the hash created by passwd to be used, but
I couldn't find anything useful.

It is crucial that we use utilities available in the base system of FreeBSD, so
no fancy Python or Perl scripts.

I might have overlooked something in my desperate quest, so I'm sorry if the
task is trivial and already standard.

Kind regards and than you very much in advance,

oh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160218141624.5f560f2d>