Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

determine selinux boolean states?

Status
Not open for further replies.

goBoating

Programmer
Feb 8, 2000
1,606
US
I need to query the state(s) of the selinux booleans on a system. The 'getsebool' command appears to do the trick. However, on all the machines I have access to, I can't find an example of a 'pending' status, which appears to be a valid state. I have plenty of examples of 'active/inactive' and 'on/off', depending on redhat OS version. Consequently, I have no idea how to parse a 'pending' status from the results of an getsebool call.

How do I configure a system to end up with a 'pending' boolean state?
What does the output of 'getsebool' look like in that case?

TIA

'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top