On Sun, 2010-08-01 at 14:10 -0500, Les Mikesell wrote:
> Jason Pyeron wrote:
> > 
> > [r...@devserver21 etc]# sudo su -l apache
> > failed to get default context
> > [r...@devserver21 etc]# sudo su apache
> > failed to get default context
> > [r...@devserver21 etc]# sudo
> > [r...@devserver21 etc]#
> > 
> 
> References to 'context' would have something to do with SELinux, not normal 
> permissions.
---
That's is also because his echoed "0" context is not active yet.  It
requires a reboot every time I have done it.  But the other way around
it does not.

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...

apache = /sbin/nologin
postgres = /sbin/bash
#################################################
Jason,

Nasty things happen when you build rpms like that.  
See www.owlriver.com , Russ has an article there about it [1].

[1] http://www.owlriver.com/tips/non-root/


John

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to