Hi, My code snippet looks like this: user{xyz : .... .... password => "xyz123" } It successfully adds a user named "xyz", but when I try to login as "xyz", it does not accept password as "xyz123" ,even though I have set it. I am not able to understand the problem. Can anyone help?? -- 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.
Check what is actually being set in /etc/shadow (or wherever). I''m guessing the function takes an encrypted password and you''re giving it a decrypted password. On Aug 23, 2010, at 10:38 PM, parag(PK) wrote:> Hi, > > My code snippet looks like this: > > user{xyz : > .... > .... > password => "xyz123" > > > } > > It successfully adds a user named "xyz", but when I try to login as > "xyz", it does not accept password as "xyz123" ,even though I have set > it. > I am not able to understand the problem. > Can anyone help?? > > -- > 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. >-- 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.
And you probalby should use single quotes '' '' instead of double quotes, because the encrypted passwords often contain "$" and puppet would try to expand the characters following the dollar sign like it was a variable. On 24 Aug., 07:38, "parag(PK)" <myselfpk...@gmail.com> wrote:> Hi, > > My code snippet looks like this: > > user{xyz : > .... > .... > password => "xyz123" > > } > > It successfully adds a user named "xyz", but when I try to login as > "xyz", it does not accept password as "xyz123" ,even though I have set > it. > I am not able to understand the problem. > Can anyone help??-- 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.