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
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 re