fedora-selinux-list Digest, Vol 20, Issue 18

Jayendren Anand Maduray jayendren at hivsa.com
Tue Oct 25 08:29:19 UTC 2005


Thanks for you help, again!

Here is the output:

[root at shiva jay]# chcon -t bin_t /usr/local/squidclamav/bin/*
You have mail in /var/spool/mail/jay
[root at shiva jay]#
[root at shiva jay]# ls -lZ /usr/local/squidclamav/bin
-rwxr-xr-x  root     root     system_u:object_r:bin_t          squidclamav


I will reboot, and check the system as it starts up.

Currently, i use system-config-securitylevel to re-enable squid.

Which file can i edit to do this from the command line?

God bless.

Daniel J Walsh wrote:

> Jayendren Anand Maduray wrote:
>
>> Thank for your response, i really appreciate it.
>>
>> Squid clam binary is located in:
>>
>> /usr/local/squidclamav/bin
>>
>>
>> I isssue:
>>
>> [root at shiva jay]# chcon -t bin_t *`which /usr/local/squidclamav/bin/`
>>
>> and get error: 
>
> Just enter
>
> chcon -t bin_t /usr/local/squidclamav/bin/*
>
> But the relabel should have done that for you.
>
> ls -lZ /usr/local/squidclamav/bin
>
> Should show files marked as bin_t.  Now turn on squid (IE change the 
> boolean and restart the service).
>
> What AVC messages are you seeing now?
>
> Dan
>
>
> No the
>

-- 
Jayendren Anand Maduray
Microsoft Certified Professional
Network Plus
IT Administrator

Perinatal HIV Research Unit
Old Potch Road
Chris Hani Baragwanath Hospital
Soweto
South Africa

Tel: +27 11 989 9776
Tel: +27 11 989 9999
Fax: +27 11 938 3973
Cel: 082 22 774 94

Alternate email address: jayendren at mweb.co.za




More information about the fedora-selinux-list mailing list