Bug 207998 - incorrect error message from run_init
incorrect error message from run_init
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: policycoreutils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-25 14:58 EDT by Linda Knippers
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: selinux-policy-2.4.3-10.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-28 09:52:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Linda Knippers 2006-09-25 14:58:16 EDT
Description of problem:
I'm running an FC6 system with the mls policy in enforcing mode.
When I'm logged in as root and in the staff_r role and try to use
run_init to restart a service, it tells me "incorrect password for
root" when I know the password is correct.  I think if I can't run
the program from the role I'm in, it should say that or tell me
permission denied.

Version-Release number of selected component (if applicable):
policycoreutils-1.30.28-2
selinux-policy-mls-2.3.13-5


How reproducible:


Steps to Reproduce:
1.log in as root and still be in the default staff_r role
2.run_init /etc/init.d/cups restart
3.enter the correct root passwd
  
Actual results:
[root@kipper linux-2.6.17.i386]# run_init /etc/init.d/cups restart
Authenticating root.
Password:
run_init: incorrect password for root
authentication failed.

Expected results:

Some more meaningful error message

Additional info:

I know the passwd is correct because I've done this a number of times.
If I do the same thing from the sysadm_r role then it works just fine.
Comment 1 Daniel Walsh 2006-11-28 09:52:24 EST
Fixed in the latest policy.  You should get permission denied.

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