Re: r-x and r-x.

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



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

On 05/28/2013 10:06 AM, m.roth@xxxxxxxxx wrote:
> Johan Vermeulen wrote:
>> 
>> Op 25-04-13 19:41, m.roth@xxxxxxxxx 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@xxxxxxxxxx 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-----
_______________________________________________
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