SUMMARY: poppassd and solaris 9

From: Stacey Conrad <Stacey.Conrad_at_millersville.edu>
Date: Wed Jan 08 2003 - 14:15:40 EST
Well, I only got one response for this question, which was to make sure that
poppassd was suid root.  The poppassd on the old system was not suid root
but worked, and setting the new one suid did not even change the error
message.

After many hours of code hacking and recompiling, I finally did fix it.  For
anyone using poppassd with Solaris 9, make sure the P1 part looks like this
(don't forget the space after the colon):

static char *P1[] =
   {
     "changing password for *\nold password: ",  /* shadow */
     "enter login password: ",                   /* Solaris */
     "old smb password: ",                       /* smb */
     "enter existing login password: ",	/* For Solaris 9 */
     ""
   };

/stacey/

>  -----Original Message-----
> From: 	Stacey Conrad  
> Sent:	Friday, December 27, 2002 9:33 PM
> To:	'sunmanagers@sunmanagers.org'
> Subject:	poppassd and solaris 9
> 
> I've been trying to get poppassd (version 4.0.4 from Qualcomm) to work
> with Solaris 9 to no avail.  I've searched the archives and google and saw
> that with previous versions of Solaris the solution was as simple as
> changing the passwd strings that poppassd looks for.  In theory, that
> should have worked like a charm, only it didn't.  Here's the output from
> Solaris 9's passwd:
> 
> sol9box:~$ passwd
> passwd: Changing password for test
> Enter existing login password: 
> New Password: 
> Re-enter new Password: 
> passwd: password successfully changed for test
> 
> So, I added the following:
> 
> in P1:	"passwd: Changing password for *\nEnter existing login
> password: ",
> in P2: 	"new passwd ",
> in P3:	"re-enter new password: ",
> in P4:	"passwd: password successfully changed for *",
> 
> And the results are still:
> 
> bash-2.05# /usr/local/sbin/poppassd
> 200 sol9box  poppassd v4.0.4 hello, who are you?
> user test
> 200 your password please.
> pass oldpass
> 200 your new password please.
> newpass newpass
> 500 Unable to change password
> 
> Has anyone gotten poppassd to work with Solaris 9?  Our students love it,
> so we'd like to be able to give it back to them.
> 
> Stacey Conrad
> Millersville University
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jan 8 14:17:56 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:01 EST