Bug 673

Summary: sudo su - not accepting the password for higher patch level of solaris sparc.
Product: Sudo Reporter: asachan4 <asachan4>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: low    
Version: 1.8.10   
Hardware: Sun   
OS: Solaris 2.x   

Description asachan4 2014-10-28 03:57:49 MDT
for OS:
SunOS 5.10 Generic_150400-09 sun4v sparc sun4v 
Sudo v1.8.10p3
bash-3.2$ /opt/xx/xx/bin/sudo su -

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 
Sorry, try again.
Password: 
sudo: 1 incorrect password attempt
bash-3.2$  
On same server sudo functionality works fine with older release of sudo i.e., v1.8.8.

As well as,sudo functionality of sudo v1.8.10p3 works on below server:
SunOS 5.10 Generic_147440-15 sun4v sparc SUNW,SPARC-Enterprise-T2000
Comment 1 Todd C. Miller 2014-10-28 09:35:05 MDT
Are you using the packages from sudo.ws or some other ones?
Comment 2 asachan4 2014-10-29 05:10:13 MDT
Yes, I have downloaded the source from the above location only.
Comment 3 Todd C. Miller 2014-10-29 14:36:39 MDT
It's a little hard to tell based on the information you have provided but I may have a fix for you.  Can you please try either the following binary package:

ftp://ftp.sudo.ws/pub/millert/sudo/Solaris/10/TCMsudo-1.8.11p2-sparc.pkg.gz

or build your own from the source code:

ftp://ftp.sudo.ws/pub/millert/sudo/sudo-1.8.11p2.tar.gz

and see if that fixes your problem?
Comment 4 asachan4 2014-10-30 03:50:33 MDT
As per my understanding, sudo upgrade on a server doesnot interfer with the existing sudoers.I am unable to undertand when user is able to login with v1.8.8 then why not with v1.8.10p3.
Fyi : the server is of upgrade level of 10 which was upgraded with patch i.e.,
cat /etc/release
                   Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011

SunOS 5.10 Generic_150400-09 sun4v sparc sun4v
whereas, working for other releases.
Comment 5 Todd C. Miller 2014-10-30 05:26:51 MDT
This is almost certainly a PAM issue of some sort.  Another user had what may be a related issue that I have fixed in sudo 1.8.11p2, which is why I asked if you could try it.

Are you using any third party nsswitch or PAM modules?  For instance, an Active Directory bridge product?
Comment 6 Todd C. Miller 2014-11-16 07:05:45 MST
This is believed to be fixed in Sudo 1.8.11p2.  Please re-open if that doesn't work for you.