-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo error running -V #4
Comments
sudo: error initializing audit plugin sudoers_audit Default /etc/sudo.conf fileSudo plugins:Plugin plugin_name plugin_path plugin_options ...The plugin_path is relative to /hewitt/zopentools/guild/sudo-1.9.13p3/libexec/sudo unlessfully qualified.The plugin_name corresponds to a global symbol in the pluginthat contains the plugin interface structure.The plugin_options are optional.The sudoers plugin is used by default if no Plugin lines are present.#Plugin sudoers_policy sudoers.so -- RC=(0) [SYSA] bash-5.2$ pwd |
Thanks @gngrossi, appreciate the feedback. At the moment, I'm working on upstreaming Bash. How high of a priority are these sudo issues to you? |
sudo is a low priority...no rush. |
bash-5.2$ sudo -V bash-5.2$ ls -l /etc/sudoers |
bash-5.2$ sudo -V |
We currently are running sudo using the older Ported Tools version. -- bash-5.2$ ls -l /SYSA/etc/sudoers bash-5.2$ which sudo bash-5.2$ sudo -V |
Installed the latest pax file. bash-5.2$ sudo -V |
Is there additional information I can provide? |
Installed the latest pax file. Setting up sudo...IMPORTANT NOTE: Installation of sudo is NOT COMPLETE.
|
Is there any additional documentation I need to provide? |
Installed the latest pax file. Before... -rwxr-xr-x 1 @02858 @ISCICS1 1470464 Feb 13 11:58 /hewitt/zopentools/guild/sudo-1.9.15p5/sbin/sudo_logsrvd After... -rwsr-xr-x 1 @02858 @ISCICS1 1470464 Feb 13 11:58 /hewitt/zopentools/guild/sudo-1.9.15p5/sbin/sudo_logsrvd bash-5.2$ sudo -V -- Then ran the previous instructions with chown and chmod on both the bin and sbin directories. -rwsr-xr-x 1 BPXROOT @ISZOST1 1470464 Feb 13 11:58 /hewitt/zopentools/guild/sudo-1.9.15p5/sbin/sudo_logsrvd bash-5.2$ sudo -V |
Any additional documentation needed? bash-5.2$ pwd bash-5.2$ bin/sudo -l 16:17:12 RC=(8) [SYSA] bash-5.2$ bin/sudo -V |
USS syslog |
Hi @gngrossi , I've changed our builds to build the sudoers statically, so there shouldn't be a .so file anymore. |
Hello @IgorTodorovskiIBM Setting up sudo...IMPORTANT NOTE: Installation of sudo is NOT COMPLETE.
|
A few questions:
|
My RACF userid is uid=2858(@02858). All users including me, do not have sudo ALL |
Are you still getting this issue?
1 is a uid here. Curious if you have a uid of 1 present in your system:
This is the relevant code:
|
Actually, I updated that code to this:
Instead of choosing uid of 1, it finds an existing id and grabs the name. Looking at your later error messages:
The euid of 700100 is chosen. Is that a valid uid on your system? |
@IgorTodorovskiIBM We do not have a UID of 1. |
@IgorTodorovskiIBM Yes, UID 700100 is being used on our sysplex. |
@IgorTodorovskiIBM Upgraded sudo...success. Well done...thanks. bash-5.2$ sudo -V |
@IgorTodorovskiIBM |
Assuming you don't get that message with Rocket's port? Regarding the setreuid issue, I was checking IBM's old port and that line was guarded out - sudo's comment indicates it's to prevent "NFS lossage", I looked at Rocket's code also and they guard it out as well - probably why it worked for you. |
@IgorTodorovskiIBM Sharing...here are the file permissions for Ported Tools sudo: |
Upgraded sudo...same results as 6/14 |
RC=(0) [SYSA] bash-5.2$ sudo -V
Sudo version 1.9.13p3
sudo: PERM_SUDOERS: setreuid(-1, 1): EDC5121I Invalid argument.
sudo: no valid sudoers sources found, quitting
sudo: error initializing audit plugin sudoers_audit
--
/hewitt/zopentools/guild/sudo-1.9.13p3
RC=(0) [SYSA] bash-5.2$ ls -E bin
bin:
total 9072
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 1552384 May 23 21:35 cvtsudoers
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 2015232 May 23 21:35 sudo
lrwxrwxrwx 1 @02858 @ISCICS1 4 May 24 15:47 sudoedit -> sudo
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 1048576 May 23 21:35 sudoreplay
sbin:
total 7184
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 1282048 May 23 21:34 sudo_logsrvd
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 1105920 May 23 21:35 sudo_sendlog
-rwsr-xr-x --s- 1 BPXROOT @ISZOST1 1257472 May 23 21:35 visudo
The text was updated successfully, but these errors were encountered: