Fourhundred Thecat
2017-May-17 11:30 UTC
[syslinux] generating hashed passwords for MENU PASSWD
Hello, the wiki says, I can use hashed password for MENU PASSWD: http://www.syslinux.org/wiki/index.php?title=Comboot/menu.c32 (actually the wiki says "encrypted" password, which I think is wrong and misleading) SHA-2-256 (Signature: $5$) It further says, that SHA-2 passwords are compatible with very recent Linux distributions. That is great, but *HOW* do I generate such hashed password? With salt, or without ? Hex, or base64 ? I guess I could find it if I google long enough, but why can't there be an example ? could somebody please provide a working openssl command, which I can use to sha2566-hash my password ? many thanks ,
Ferenc Wágner
2017-May-17 16:03 UTC
[syslinux] generating hashed passwords for MENU PASSWD
Fourhundred Thecat via Syslinux <syslinux at zytor.com> writes:> the wiki says, I can use hashed password for MENU PASSWD: > http://www.syslinux.org/wiki/index.php?title=Comboot/menu.c32 > > (actually the wiki says "encrypted" password, which I think is wrong and > misleading) > > SHA-2-256 (Signature: $5$) > > It further says, that SHA-2 passwords are compatible with very recent > Linux distributions. > That is great, but *HOW* do I generate such hashed password? With salt, > or without ? Hex, or base64 ?https://unix.stackexchange.com/questions/52108/how-to-create-sha512-password-hashes-on-command-line> I guess I could find it if I google long enough, but why can't there be > an example ?There could. -- Feri
Fourhundred Thecat
2017-May-18 08:49 UTC
[syslinux] generating hashed passwords for MENU PASSWD
> On 2017-05-17 18:03, Ferenc W?gner wrote: > > https://unix.stackexchange.com/questions/52108/how-to-create-sha512-password-hashes-on-command-line >thanks for the link. This works: mkpasswd -m sha-256