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-us...@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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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