Bug 712072 - Unexpected message from ipa-getcert with non-root user
Summary: Unexpected message from ipa-getcert with non-root user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: certmonger
Version: 5.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-09 12:37 UTC by Kaleem
Modified: 2012-02-21 06:17 UTC (History)
3 users (show)

Fixed In Version: certmonger-0.50-1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 06:17:12 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0245 0 normal SHIPPED_LIVE certmonger bug fix and enhancement update 2012-02-20 15:07:20 UTC

Description Kaleem 2011-06-09 12:37:44 UTC
Description of problem:
Unexpected message from ipa-getcert when called by non-root user.

Version-Release number of selected component (if applicable):
certmonger-0.42-1.el5

How reproducible:
Always

Steps to Reproduce:
1.Install certmonger
2.Start certmonger service
3.run 'ipa-getcet list' command as non-root user.
  
Actual results:
Following message is displayed on console.
"Number of certificates and requests being tracked: 0." 

Expected results:
Following error message should be displayed.
"Insufficient access.  Please retry operation as root."

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=683926.

Comment 2 Kaleem 2011-11-23 09:27:31 UTC
Verified.

Certmonger Version:
[root@dhcp201-118 ~]# rpm -q certmonger
certmonger-0.50-1.el5
[root@dhcp201-118 ~]#

Now proper error message is displayed when non-root user runs "ipa-getcert list" command.

[root@dhcp201-118 ~]# su - testuser
[testuser@dhcp201-118 ~]$ ipa-getcert list
Insufficient access.  Please retry operation as root.
[testuser@dhcp201-118 ~]$

Comment 3 errata-xmlrpc 2012-02-21 06:17:12 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.

http://rhn.redhat.com/errata/RHBA-2012-0245.html


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