[CentOS] r-x and r-x.

Daniel J Walsh dwalsh at redhat.com
Tue May 28 15:12:16 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/28/2013 10:06 AM, m.roth at 5-cent.us wrote:
> Johan Vermeulen wrote:
>> 
>> Op 25-04-13 19:41, m.roth at 5-cent.us schreef:
>>> John R Pierce wrote:
>>>> On 4/25/2013 5:01 AM, mark wrote:
>>>>> Two things: unless this is a laptop, shut down NetworkManager -
>>>>> there is *no*  use for it in a wired environment.
>>>> doesn't it handle DHCP too?   or is there an alternate mechanism for 
>>>> that?
>>> Dunno if it does, but network certainly does. I would expect dhclient
>>> to be installed by default, and so it's merely a matter of making sure
>>> that it says BOOTPROTO="dhcp" in 
>>> /etc/sysconfig/network-scripts/ifcfg-<whatever>
>>> 
>> 
>> I finally tested this further ( in the mean time I did NOT disable any 
>> selinuxes but worked with cron ) :
>> 
>> #chcon -t bin_t /usr/bin/rsync
>> 
>> works.
>> 
>> chcon :  change file SELinux security context
> <snip> Warning: you may have needed to read further: a chcon doesn't last
> through a reboot. To make that permanent, you need to do: semanage fcontext
> -a -t bin_t /usr/bin/rsync
> 
> You can make sure that took effect with restorecon -v /usr/bin/rsync
> 
> mark
> 
> _______________________________________________ CentOS mailing list 
> CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
> 
It does last through a reboot but not a relabel.  Which is why the semanage
fcontext is important.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGkyVAACgkQrlYvE4MpobMBCgCgiNUFCBGgFDscs+X7Jx0EwEiy
SwgAoNMxeDkTRJXWMlhuyV2mV11WO6Uj
=y7G9
-----END PGP SIGNATURE-----



More information about the CentOS mailing list