Hi,
in Fedora 28 I used the command `mkpasswd` [1] to generate passwords according to different criteria. Now in Fedora 30 this command asks for a password to encrypt for /etc/passwd usage.
Any ideas how do I get back the old `mkpasswd`?
On Wed, May 15, 2019 at 9:15 AM Aleksandar Kostadinov akostadi@redhat.com wrote:
in Fedora 28 I used the command `mkpasswd` [1] to generate passwords according to different criteria. Now in Fedora 30 this command asks for a password to encrypt for /etc/passwd usage.
Would pwgen(1)[1] do what you need?
[1] https://linux.die.net/man/1/pwgen
On 15May2019 16:13, Aleksandar Kostadinov akostadi@redhat.com wrote:
in Fedora 28 I used the command `mkpasswd` [1] to generate passwords according to different criteria. Now in Fedora 30 this command asks for a password to encrypt for /etc/passwd usage.
Any ideas how do I get back the old `mkpasswd`?
Maybe mkpasswd now comes from something else. IIRC mkpasswd came from the expect package.
But, yeah, if that doesn't sort it, use another tool. Ben suggested pwgen, and I've got a script of my own called "mkpw" which generates a 16 character random hex string.
Cheers, Cameron Simpson cs@cskk.id.au
Once upon a time, Cameron Simpson cs@cskk.id.au said:
But, yeah, if that doesn't sort it, use another tool. Ben suggested pwgen, and I've got a script of my own called "mkpw" which generates a 16 character random hex string.
Just FYI: openssl CLI can do that with "openssl rand -hex 8".
On 15May2019 18:46, Chris Adams linux@cmadams.net wrote:
Once upon a time, Cameron Simpson cs@cskk.id.au said:
But, yeah, if that doesn't sort it, use another tool. Ben suggested pwgen, and I've got a script of my own called "mkpw" which generates a 16 character random hex string.
Just FYI: openssl CLI can do that with "openssl rand -hex 8".
Nice! - Cameron Simpson cs@cskk.id.au