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

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



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