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

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



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Jason Pyeron
> Sent: Sunday, August 01, 2010 10:34
> To: 'CentOS mailing list'
> Subject:  /bin/su wont work inside a chroot?
> 
> On centos 4 (i386 chroot on an x86_64) it just prompts me for 
> a password.
> 
> Any suggesstion on where to start looking?

So my hack will not work either...

[root@devserver21 ~]# echo 0 >/selinux/enforce
[root@devserver21 ~]# chroot /var/mnt/192.168.1.52
[root@devserver21 /]# passwd apache
passwd: user_u:system_r:initrc_t is not authorized to change the password of
apache
[root@devserver21 /]#



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


_______________________________________________
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