--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/594b8f60-0076-4696-921e-6e311b4a30da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
salt 'name' random.get_str 128
on the minion itself?
Probably trying slowly generating random numbers for generating the password./dev/urandom first uses the /dev/random entropy buffer, and then will generate random numbers afterwards.There are salt modules that you could use in your script to generate passwords, but you could also install a service like `haveged` https://linux.die.net/man/8/haveged or `rngd` https://linux.die.net/man/8/rngd to generate and add extra randomness to the entropy faster.
On Wed, Jan 17, 2018 at 11:12 AM, John Ratliff <jo...@technoplaza.net> wrote:
I have a script, and when it executes from cmd.run, it always hangs.I've found that it hangs on this line in the bourne shell script:PW=$($CAT /dev/urandom | $TR -dc 'a-zA-Z0-9' | $FOLD -w 32 | $HEAD -n 1)which I use to generate a random password.Why would salt-minion hang when running this? Suggestions for how to resolve this problem?Thanks.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/52a516e0-bfaf-45ba-b51f-c8d4109b0ef3%40googlegroups.com.