Bug 549 - Sudo 1.7.8p1 from HP iexpress not running properly on 11.31
Sudo 1.7.8p1 from HP iexpress not running properly on 11.31
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.8
HP HP-UX
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-20 10:41 MDT by campbco
Modified: 2012-03-20 12:07 MDT (History)
0 users

See Also:


Attachments
tusc output as root (65.01 KB, application/octet-stream)
2012-03-20 10:41 MDT, campbco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description campbco 2012-03-20 10:41:24 MDT
Created attachment 336 [details]
tusc output as root

I am running hpux 11.31 with the march 2012 qpk. I just installed sudo 1.7.8p1. I am also running ldap-ux B.05.01 against hp directory server. On the latest version, if we run sudo with NOPASSWD in the declaration, the command just comes back to the prompt. If set to use the password, it is cached and the command works properly. This also happens as root. Not sure what else to try.

server1:root root> sudo tail /var/adm/syslog/syslog.log
server1:root root>

There is data in syslog.log. But it just returns to the prompt.

server1:root root> sudo -V
Sudo version 1.7.8p1

Configure args: --prefix=/opt/iexpress/sudo --enable-log-host --with-pam --with-fqdn --with-timedir=/var/adm/sudo --with-sudoers-mode=440 --with-sudoers-uid=2 --with-sudoers-gid=2 --sysconfdir=/opt/iexpress/sudo/etc --with-ldap=/opt/iexpress/openldap
Sudoers path: /opt/iexpress/sudo/etc/sudoers
nsswitch path: /etc/nsswitch.conf
ldap.conf path: /etc/ldap.conf
ldap.secret path: /etc/ldap.secret
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: auth
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Require users to authenticate by default
Root may run sudo
Log the hostname in the (non-syslog) log file
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 5.0 minutes
Password prompt timeout: 5.0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/adm/sudo
Default password prompt: Password:
Default user to run commands as: root
Path to the editor for use by visudo: /usr/bin/vi
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File containing dummy exec functions: /opt/iexpress/sudo/libexec/sudo_noexec.so
File descriptors >= 3 will be closed before executing a command
Reset the environment to a default set of variables
Environment variables to check for sanity:
        TERM
        LINGUAS
        LC_*
        LANGUAGE
        LANG
        COLORTERM
Environment variables to remove:
        RUBYOPT
        RUBYLIB
        PYTHONUSERBASE
        PYTHONINSPECT
        PYTHONPATH
        PYTHONHOME
        TMPPREFIX
        ZDOTDIR
        READNULLCMD
        NULLCMD
        FPATH
        PERL5DB
        PERL5OPT
        PERL5LIB
        PERLLIB
        PERLIO_DEBUG
        JAVA_TOOL_OPTIONS
        SHELLOPTS
        GLOBIGNORE
        PS4
        BASH_ENV
        ENV
        TERMCAP
        TERMPATH
        TERMINFO_DIRS
        TERMINFO
        SHLIB_PATH
        _RLD*
        LD_*
        PATH_LOCALE
        NLSPATH
        HOSTALIASES
        RES_OPTIONS
        LOCALDOMAIN
        CDPATH
        IFS
Environment variables to preserve:
        XAUTHORIZATION
        XAUTHORITY
        TZ
        PS2
        PS1
        PATH
        LS_COLORS
        KRB5CCNAME
        HOSTNAME
        DISPLAY
        COLORS
Locale to use while parsing sudoers: C
Compress I/O logs using zlib
Directory in which to store input/output logs
Comment 1 Todd C. Miller 2012-03-20 11:17:27 MDT
This bug was fixed in Sudo 1.7.8p2.  I don't have any control over what version of sudo HP includes with their internet express packages.  You can always find up to date HP packages at http://www.sudo.ws/download.html.  I would expect the HP-UX 11.23 packages to work, see  http://www.sudo.ws/download.html#HP-UX11.23
Comment 2 campbco 2012-03-20 12:07:04 MDT
(In reply to comment #1)
> This bug was fixed in Sudo 1.7.8p2.  I don't have any control over what
> version of sudo HP includes with their internet express packages.  You
> can always find up to date HP packages at
> http://www.sudo.ws/download.html.  I would expect the HP-UX 11.23
> packages to work, see  http://www.sudo.ws/download.html#HP-UX11.23


Awesome. Thanks.