Hey,
There is also this:
https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/random_password.rb
KW
On Tuesday, October 30, 2012 1:39:35 PM UTC, Ygor wrote:
>
> The package "expect" contains a script/binary called "mkpasswd" that I
> find very appropriate for
The package "expect" contains a script/binary called "mkpasswd" that I find
very appropriate for making passwords.
Here's its man-page: http://linux.die.net/man/1/mkpasswd
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group,
On Wed, Feb 8, 2012 at 11:30 AM, wernerbahlke wrote:
> Hi,
>
> I want to create a user with a random password. Is there a way to only
> execute the manifest once when the user does not exist but not once
> the user is created?
>
> I know how to create a random password and can use generate to exec
In one user management setup, I use htpasswd to create a random password just
to secure the account.
Like this:
htpasswd -nmb whoever `mkpasswd` | cut -d: -f2 | passwd --stdin
Then, with over-the-shoulder admin access, the user can set their own password.
“Sometimes I think the surest sign th
On Wed, Feb 8, 2012 at 11:30 AM, wernerbahlke wrote:
> Hi,
>
> I want to create a user with a random password. Is there a way to only
> execute the manifest once when the user does not exist but not once
> the user is created?
>
For situations like this I use the puppet generate() function to cre