On 08/01/2010 12:28 PM, JohnS wrote:
That's is also because his echoed "0" context is not active yet. It requires a reboot every time I have done it.
No, rebooting will reset any changes made to files in /selinux.
No matter how hard you try in a default EL4 or 5 instance you will never get logged into an apache account. Root or Not... Unless you change the login shell..or exploit it...
It's not hard, you just have to specify a shell to use:
# su - apache -s /bin/bash