Bug 1053 - sudo 1.7.8p1 | Napasswd doenst work / sudo su - returns to prompt without doing anything
sudo 1.7.8p1 | Napasswd doenst work / sudo su - returns to prompt without do...
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.8
HP HP-UX
: low high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-16 04:16 MDT by hemanross
Modified: 2023-11-06 11:22 MST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hemanross 2023-07-16 04:16:23 MDT
Hi Team ,

I am running sudo 1.7.8p1 on my HPUX 11.31 system.The issues is I have a local user XYZ who is executing sudo su - on the system to gain root access. I have appended following syntax but whenever user excited that command there is no change in the prompt and get back to the prompt after executing the sudo su - command.

Please let me know what could be the issues - I have same version on other servers as well behaving the same.

Syntax : XYZ        ALL=(ALL) NOPASSWD: ALL

# sudo -V
Sudo version 1.7.8p1

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
Comment 1 Todd C. Miller 2023-07-16 08:28:53 MDT
Sudo 1.7.8p1 is almost 12 years old, are you able to run a more recent version?  You can find current sudo packages at https://www.sudo.ws as well as http://hpux.connect.org.uk/
Comment 2 Todd C. Miller 2023-11-06 11:22:30 MST
Sudo 1.7.x is no longer supported, please try a more recent version.