[xen-tools-dev] Status
Dmitry Nedospasov
dmitry at nedos.net
Mon Jun 7 10:47:22 CEST 2010
On 6.6.10 00:49, Nathan O'Sullivan wrote:
> If I understand what you're asking, this is what we do on our website:
>
> ENCRYPTED=`echo -n "mypass" | openssl passwd -1 -stdin`
> sed -i "s#^\(root:\)[^:]*\(.*\)#\1$PASSWORD\2#" /etc/shadow
Hmm this gets you md5 passwords, but the standard in linux now is $6$ -
sha1?
Anyway this is good enough... for now
D.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://xen-tools.org/pipermail/xen-tools-dev/attachments/20100607/f2164b64/attachment.pgp>
More information about the xen-tools-dev
mailing list