DJames
2013-Jan-10 21:55 UTC
[Puppet Users] changing the root password on PUPPET master and init.pp
I understand that you must change the password on the host itself first,
then change the password in /etc/puppet/modules/users/manifests/init.pp
what makes the password encrypted? Do i just put the non-encrypted new root
password in the following sections? then puppet encrypts it?
lass users {
case $operatingsystem {
''RedHat'', ''CentOS'': {
user {
"root":
comment => ''[ROOT]'',
uid => 0,
gid => "root",
home => "/root",
password => $ ? {
4 => '''',
5 => '''',
6 => '''',
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/mEeGNkFMgusJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Darin Perusich
2013-Jan-11 13:23 UTC
Re: [Puppet Users] changing the root password on PUPPET master and init.pp
You need to supply the encrypted password in the manifest. -- Later, Darin On Thu, Jan 10, 2013 at 4:55 PM, DJames <dominicrjames@gmail.com> wrote:> I understand that you must change the password on the host itself first, > then change the password in /etc/puppet/modules/users/manifests/init.pp > > what makes the password encrypted? Do i just put the non-encrypted new root > password in the following sections? then puppet encrypts it? > > > lass users { > case $operatingsystem { > ''RedHat'', ''CentOS'': { > user { > "root": > comment => ''[ROOT]'', > uid => 0, > gid => "root", > home => "/root", > > password => $ ? { > 4 => '''', > 5 => '''', > 6 => '''', > > > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/mEeGNkFMgusJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
DJames
2013-Jan-11 14:15 UTC
Re: [Puppet Users] changing the root password on PUPPET master and init.pp
my existing setup ( sorry im new to this) i noticed each section for
encrypted password is different, what change each value?
I was told put the same password (encrypted) in each 4 sections after i
change the root password on the host. see below, i replaced the existing
encryption with
"differ1, differ2, differ3, differ4 (solaris) values for e.g.)
case $operatingsystem {
''RedHat'', ''CentOS'': {
user {
"root":
comment => ''[ROOT]'',
uid => 0,
gid => "root",
home => "/root",
password => $lsbmajdistrelease ? {
4 => ''differ1'',
5 => ''''differ2'',
6 => ''''differ3'',
''Solaris'': {
user {
"root":
comment => ''Super-User'',
uid => 0,
gid => "0",
home => "/",
password => differ4'',
shell => "/bin/bash";
On Friday, January 11, 2013 8:23:10 AM UTC-5, Darin Perusich
wrote:>
> You need to supply the encrypted password in the manifest.
>
> --
> Later,
> Darin
>
>
> On Thu, Jan 10, 2013 at 4:55 PM, DJames <domini...@gmail.com
<javascript:>>
> wrote:
> > I understand that you must change the password on the host itself
first,
> > then change the password in
/etc/puppet/modules/users/manifests/init.pp
> >
> > what makes the password encrypted? Do i just put the non-encrypted new
> root
> > password in the following sections? then puppet encrypts it?
> >
> >
> > lass users {
> > case $operatingsystem {
> > ''RedHat'', ''CentOS'': {
> > user {
> > "root":
> > comment => ''[ROOT]'',
> > uid => 0,
> > gid => "root",
> > home => "/root",
> >
> > password => $ ? {
> > 4 => '''',
> > 5 => '''',
> > 6 => '''',
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "Puppet Users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/puppet-users/-/mEeGNkFMgusJ.
> > To post to this group, send email to
puppet...@googlegroups.com<javascript:>.
>
> > To unsubscribe from this group, send email to
> > puppet-users...@googlegroups.com <javascript:>.
> > For more options, visit this group at
> > http://groups.google.com/group/puppet-users?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/p86JIZcE1OcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.