Re: /bin/su wont work inside a chroot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 2010-08-01 at 17:35 -0700, Gordon Messmer wrote:
> 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.

What I meant was totally shutting it down. The service then reboot.
Factually a machine under high load I have seen parts of /proc not get
read.  That I can show if you want to see it.

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

That is if the shell is specified.  By default it is not and that was
what was brought up.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux