Bug 709359 - wrong error handling of satpasswd command
Summary: wrong error handling of satpasswd command
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Usability
Version: 540
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-05-31 13:43 UTC by Tomas Lestach
Modified: 2014-07-04 13:26 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:26:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tomas Lestach 2011-05-31 13:43:58 UTC
Description of problem:
This bug is was discovered, when verifying Bug 684354.
satpasswd prints out information, that isn't correct and that shall not be printed for unprivileged user at all.

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

How reproducible:
always

Steps to Reproduce:
1. useradd user
2. su - user
3. satpasswd admin
  
Actual results:
Permission denied traceback ending with:

user "admin" is not a valid satellite user

what definitely isn't correct.

Expected results:
Information, that non-privileged user isn't allowed to run the satpasswd command, ideally no traceback.
Definitely not telling information, that isn't correct or wasn't verified at all.
The message points on wrong error handling.


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