Re: mkpasswd

2019-05-15 Thread Cameron Simpson

On 15May2019 18:46, Chris Adams  wrote:

Once upon a time, Cameron Simpson  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 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: mkpasswd

2019-05-15 Thread Chris Adams
Once upon a time, Cameron Simpson  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".
-- 
Chris Adams 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: mkpasswd

2019-05-15 Thread Cameron Simpson

On 15May2019 16:13, Aleksandar Kostadinov  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`?

[1] https://linux.die.net/man/1/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 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: mkpasswd

2019-05-15 Thread Ben Cotton
On Wed, May 15, 2019 at 9:15 AM Aleksandar Kostadinov
 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

-- 
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


mkpasswd

2019-05-15 Thread Aleksandar Kostadinov
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`?

[1] https://linux.die.net/man/1/mkpasswd
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org