Red Hat Bugzilla – Bug 207998
incorrect error message from run_init
Last modified: 2007-11-30 17:11:44 EST
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
Version-Release number of selected component (if applicable):
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
[root@kipper linux-2.6.17.i386]# run_init /etc/init.d/cups restart
run_init: incorrect password for root
Some more meaningful error message
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.
Fixed in the latest policy. You should get permission denied.