Skip to main content
Apr 16, 2019 5:34 AM UTC

Sudo doesn't work

Hi,

I tried to install sudo (sudo-1.8.6p3_b009.170419) on z/OS 2.3. README.ZOS tells a alot about the installation process. But nothing about the customization of /ect/sudo.conf.

When I run sudo with sample.conf delivered as sample an error occured that no sudoers.so was found.
If I delete or comment the both lines in sudo.conf:
Plugin sudoers_policy sudoers.so
Plugin sudoers_io sudoers.so
the execution of sudo fails with a message: unable to initialize policy plugin.

How should sudo works with only the deliverd files in package sudo-1.8.6p3_b009.170419?

Thanks for your help.

Kind regards,
Björn

    1 reply

    Alexander Klochkov
    Rocketeer
    Jul 16, 2019 2:15 AM UTC

    Hi,

    I tried to install sudo (sudo-1.8.6p3_b009.170419) on z/OS 2.3. README.ZOS tells a alot about the installation process. But nothing about the customization of /ect/sudo.conf.

    When I run sudo with sample.conf delivered as sample an error occured that no sudoers.so was found.
    If I delete or comment the both lines in sudo.conf:
    Plugin sudoers_policy sudoers.so
    Plugin sudoers_io sudoers.so
    the execution of sudo fails with a message: unable to initialize policy plugin.

    How should sudo works with only the deliverd files in package sudo-1.8.6p3_b009.170419?

    Thanks for your help.

    Kind regards,
    Björn

    Hi Björn,

    Did you try to use sudo.conf instead of sample.sudo.conf which goes in archive also.
    It doesn’t have links to sudoers.so
    Plugin sudoers_policy /etc/sudoers
    Plugin sudoers_io /etc/sudoers

    Thanks,
    Alexander