[CentOS] r-x and r-x.

Tue May 28 14:06:17 UTC 2013
m.roth at 5-cent.us <m.roth at 5-cent.us>

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