"su" won't work if their shell is /bin/false. Try out that "checkpassword" proggy or the other suggestion on verifying against the hash with a perl script. -Steve > -----Original Message----- > From: redhat-list-admin@xxxxxxxxxx > [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of j.travis > Sent: Tuesday, December 16, 2003 6:40 PM > To: redhat-list@xxxxxxxxxx > Subject: Re: password confirmation > > > Interesting. I will experiment with that. One thing is > that most of my > users have a shell of '/bin/false' so I don't know if I can > "su" in that > scenario... > > I also downloaded a program called 'checkpassword' which > looks promising; > but maybe more utility than I have use for. > http://cr.yp.to/checkpwd/interface.html > > > > One way, that I can think of, is to use "su" (obviously it > > you'd have to run it as a user other than root). > > su <someuser> -c "echo good pass" > > > > Is there a way to confirm a users password without actually > > > logging in as > > > the user? So that if I think that the password is > > > 'pass-wd-x' for user > > > 'xyz' I can confirm it from the command line. > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list