So I'm trying to add two users to ~700 machines running puppet-0.24.4
(Puppetmaster server is also running 0.24.4)

I can get puppet to add the user, or make the home directory, but I
can't get it to set the password (I Don't want to push out an /etc/
shadow file as not every location is 100% the same, and I can't push
out an /etc/passwd file either as not every machine has the exact same
UID/GID combination for the local users, and then I'd have to deal
with cleaning up permissions on directories, etc. and that could get
really ugly - especially for the puppet user)

I tried using some code that would insert a line into a file (/etc/
shadow in this case) but it doesn't seem to always work, which is
weird.

Am I missing something obvious here?  useradd in solaris doesn't have
an option to set the password via the useradd command?

Thanks so much,
Josh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to