Re: Checkpassword 0.90 + Redhat 9.0
Sean Kennedy <[email protected]> Wed, 02 Jul 2003 10:55:11 -0700
| Newsgroups | gmane.comp.djb.checkpassword |
|---|---|
| Message-ID | <[email protected]> |
Paul Jarc wrote: >asdf <[email protected]> wrote: > > >>[root@xxx qmail-smtpd]# su qmaild >>sh-2.05$ /var/qmail/bin/qmail-popup blah /bin/checkpassword pwd >>+OK <23007.1057166631@blah> >>user test >>+OK >>pass test >>/home/test >> >> > >What does "ls -lL /bin/checkpassword" say on this machine? > ls -lL /bin/checkpassword -r-s--s--t 1 root root 8.5k Dec 13 2001 /bin/checkpassword >>I am using this user because I need to make checkpassword work for >>them, >> >> > >What do you mean? > > I need qmaild to be able to check system passwords using checkpassword, so I was testing checkpassword with qmaild. > > >>Granted, I don't know the internals of this program, but I thought all >>it does was check the username/password against /etc/passwd and >>/etc/shadow, >> >> > >That's not all it does. See "Process-state changes" at the end of ><URL:http://cr.yp.to/checkpwd/interface.html>. > > >paul > > Ah ha. Ok, so first, this is fixed. Second, this was due to my misunderstanding of suid in linux. I was convinced, somehow, that suid didn't work in linux, so I didn't even think to use it. Yes, I can be that stupid at times. :) Thanks for the help folks, got this figured out I think. Sean