I finally fixed poppassd. Anyone using Solaris 9, make sure P1 in
poppassd.c looks like this:
static char *P1[] =
{
"changing password for *\nold password: ", /* shadow */
"enter login password: ", /* Solaris */
"old smb password: ", /* smb */
"enter existing login password: ", /* For Solaris 9 */
""
};
Does anyone know who to submit that to so that it gets incorporated into new
releases?
/stacey/
-----Original Message-----
From: Alan Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 5:15 AM
To: Stacey Conrad
Cc: Subscribers of Qpopper
Subject: Re: poppassd and solaris 9
On Mon, 6 Jan 2003, Stacey Conrad wrote:
> Here is the trace file from poppassd run on the command line, after I've
> already hacked the hell out of P1:
Trace the chained passwd command too. (Strace -f on linux to see child
processes).
Odds are high that the reject is happening in the passwd call, so you're
missing where the action is.
Bear in mind that poppassd usually runs suid root, as does the call to
passwd, and that the chat sequence for unprivileges users running passwd
is usually different to that seen by the superuser.
That tripped me up when we were porting poppassd to linux several
years ago...