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.
Bug 924395 - [RFE] ipa-client-install should configure sudo automatically
Summary: [RFE] ipa-client-install should configure sudo automatically
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks: 1111121
TreeView+ depends on / blocked
 
Reported: 2013-03-21 17:04 UTC by Arthur
Modified: 2015-03-05 10:09 UTC (History)
7 users (show)

Fixed In Version: ipa-4.0.3-1.el7
Doc Type: Release Note
Doc Text:
With this update, the "ipa-client-install" command by default configures SSSD as the data provider for the sudo service. This behavior can be disabled by using the "--no-sudo" option. In addition, the "--nisdomain" option has been added to specify the NIS domain name for the IdM client installation, and the "--no-nisdomain" option has been added to avoid setting the NIS domain name. If neither of these options are used, the IPA domain is used instead.
Clone Of:
: 1111121 (view as bug list)
Environment:
Last Closed: 2015-03-05 10:09:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0442 0 normal SHIPPED_LIVE Moderate: ipa security, bug fix, and enhancement update 2015-03-05 14:50:39 UTC

Description Arthur 2013-03-21 17:04:23 UTC
Description of problem:

It is enhancment bug. I think, since from EL .4 it is possible to configure sssd_sudo intergation, that libsss_sudo should be added as a dependency to ipa-client package.
Otherwise it is possible to autoremove it with yum "clean_requirements_on_remove" option active.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Arthur 2013-03-21 17:11:37 UTC
sorry! I mean el6.4 (In reply to comment #0)
> Description of problem:
> 
> It is enhancment bug. I think, since from EL .4 it is possible to configure
> sssd_sudo intergation, that libsss_sudo should be added as a dependency to
> ipa-client package.
> Otherwise it is possible to autoremove it with yum
> "clean_requirements_on_remove" option active.
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1.
> 2.
> 3.
>   
> Actual results:
> 
> 
> Expected results:
> 
> 
> Additional info:

Comment 2 Rob Crittenden 2013-03-21 17:19:04 UTC
When ipa-client-install configures sudo using SSSD the dependency will be added.

See upstream ticket https://fedorahosted.org/freeipa/ticket/3358

Comment 4 Martin Kosek 2014-06-05 07:09:22 UTC
Ticket #3358 is fixed upstream, sudo is now configured automatically by ipa-client-install.

libsss_sudo is now part of sssd-common package and thus always installed.

Comment 6 Martin Kosek 2014-08-26 14:46:40 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/4508

Comment 9 Xiyang Dong 2014-10-22 16:30:02 UTC
Verified:
sudo was configured during ipa-client-install automatically.

[root@71client ipa-sudo]# grep "services" /etc/sssd/sssd.conf
services = nss, sudo, pam, ssh

[root@71client ipa-sudo]# grep "sudoers" /etc/nsswitch.conf
sudoers: files sss


 +-----------------------------[RPMs & OS: [ - x86_64]-----------------------------+
|       ipa-admintools-4.1.0-0.1.alpha1.el7.x86_64
|       ipa-client-4.1.0-0.1.alpha1.el7.x86_64
|       sssd-ipa-1.12.1-3.el7.x86_64
------------------------------------------------------------------------------------------
 
 +-----------------------------------------------------------------------------------------+
     Test:[/ipa-server/rhel70/ipa-sudo/root]: [ Pass(15/15): 100% ]
 +-----------------------------------------------------------------------------------------+
:: [   PASS   ]   ipa-sudo-cli-sanity-tests-setup
:: [   PASS   ]   ipa-sudo-wrapper: phase covering all tests
:: [   PASS   ]   just wait for master test to be finished first
:: [   PASS   ]   Setup for sudo functional tests
:: [   PASS   ]   sudorule-offline-caching-allow-command
:: [   PASS   ]   sudorule-offline-caching-deny-command
:: [   PASS   ]   sudorule-offline-caching-runasuser-command
:: [   PASS   ]   sudorule-offline-caching-runasgroup-command
:: [   PASS   ]   sudorule-offline-caching-hostgroup-command
:: [   PASS   ]   sudorule-offline-caching-group
:: [   PASS   ]   sudorule-offline-caching-option
:: [   PASS   ]   disable-sudorule-offline-caching
:: [   PASS   ]   sudo func cleanup
:: [   PASS   ]   Clean up for sudo functional tests
:: [   PASS   ]   /ipa-server/rhel70/ipa-sudo/root
 
 +----------------------------------------------------------------------+
                    Fail / unfinished / ABORT [ Fail(0/15): 0% ]
 +----------------------------------------------------------------------+

Comment 12 errata-xmlrpc 2015-03-05 10:09:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0442.html


Note You need to log in before you can comment on or make changes to this bug.