Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionErinn Looney-Triggs
2012-01-18 21:37:40 UTC
Description of problem:
Options that are valid in /etc/sudoers seem to be invalid in IPA (they need different formatting). I don't know about from the CL this was all done via web UI.
For example from /etc/sudoers:
mail_badpass, mail_no_host, mail_no_perms, syslog = local2
All on one line, note the space by the =. You can put this into IPA as one sudo option, there won't be any complaints, nor as far as I can tell any documentation to to do this, however it won't work:
sudo: unknown defaults entry `mail_badpass, mail_no_host, mail_no_perms, syslog '
Each part appears to need to broken into separate entries for ipa, as well it appears you cannot have spaces surrounding an =.
Another exmaple:
env_keep = "COLORS DISPLAY EDITOR HOSTNAME HISTSIZE INPUTRC \
KDEDIR LESSSECURE LS_COLORS MAIL PATH PS1 PS2 \
QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE LC_COLLATE \
LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES \
LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE \
LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET \
XAUTHORITY"
Ain't gonna fly apparently, must remove the spaces. So I would say the options are, better documentation that you can't have white space there (which is valid in sudoers) and that each needs to be put into its own "option" in the UI, a validator to say that it is wrong ala visudo, or allow what is valid sudoers syntax to work.
Version-Release number of selected component (if applicable):
ipa-server-2.1.3-9.el6.x86_64
Hello Arpit, this bug did not fit in RHEL-7.3 development cycle, so it was postponed to RHEL-7.4, or later. I am afraid additional business justification supporting importance of this bug (or even better, a collaboration with upstream project and contributing a fix) would be needed to make it happen in 7.4 as otherwise there is a high chance it will be skipped by the High priority bugs.
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. The request was cloned to the upstream tracker a long time ago (see link to the upstream ticket above), but it was unfortunately not given priority either in the upstream project, nor in Red Hat Enterprise Linux.
Given that this request is not planned for a close release, it is highly unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We are therefore closing the request as WONTFIX.
To request that Red Hat reconsiders the decision, please reopen the Bugzilla with the help of Red Hat Customer Service and provide additional business and/or technical details about it's importance to you. Please note that you can still track this request or even offer help in the referred upstream Pagure ticket to expedite the solution.
Description of problem: Options that are valid in /etc/sudoers seem to be invalid in IPA (they need different formatting). I don't know about from the CL this was all done via web UI. For example from /etc/sudoers: mail_badpass, mail_no_host, mail_no_perms, syslog = local2 All on one line, note the space by the =. You can put this into IPA as one sudo option, there won't be any complaints, nor as far as I can tell any documentation to to do this, however it won't work: sudo: unknown defaults entry `mail_badpass, mail_no_host, mail_no_perms, syslog ' Each part appears to need to broken into separate entries for ipa, as well it appears you cannot have spaces surrounding an =. Another exmaple: env_keep = "COLORS DISPLAY EDITOR HOSTNAME HISTSIZE INPUTRC \ KDEDIR LESSSECURE LS_COLORS MAIL PATH PS1 PS2 \ QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE LC_COLLATE \ LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES \ LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE \ LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET \ XAUTHORITY" Ain't gonna fly apparently, must remove the spaces. So I would say the options are, better documentation that you can't have white space there (which is valid in sudoers) and that each needs to be put into its own "option" in the UI, a validator to say that it is wrong ala visudo, or allow what is valid sudoers syntax to work. Version-Release number of selected component (if applicable): ipa-server-2.1.3-9.el6.x86_64