Re: disabling /enabling daemon for selinux without root from command line
From: Roger Grosswiler (roger_at_gwch.net)
Date: 08/03/05
- Previous message: Ankush Grover: "Re: disabling /enabling daemon for selinux without root from command line"
- In reply to: Ankush Grover: "Re: disabling /enabling daemon for selinux without root from command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 3 Aug 2005 14:19:00 +0200 (CEST) To: "For users of Fedora Core releases" <fedora-list@redhat.com>
> On 8/3/05, Roger Grosswiler <roger@gwch.net> wrote:
>> > hey friends,
>> >
>> > I have disable root access from all the terminals now I am not able
>> > to access "Security Level" from Security Tools with ordinary user .I
>> > want to disable/enable few daemons for SELinux policy.
>> >
>> > Can anybody tell me the command to enable/disable daemon for SELinux.
>> >
>> > Thanks & Regards
>> >
>> > Ankush Grover
>> >
>> > --
>> > fedora-list mailing list
>> > fedora-list@redhat.com
>> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>> >
>> Ankush,
>>
>> Better set SE in permissive mode. In shell do: 'setenforce Permissive'
>>
>> do what you need, and then do 'setenforce Enforcing' again.
>>
>> HTH
>> Roger
>>
>
>
> If I am having problem only with mysql and I want to disable mysql
> selinux policy and after rectifying the problem how can I enable it.
>
> Thanks for the reply.
>
> Thanks & Regards
>
> Ankush Grover
>
doing 'getsebool -a | grep mysql' gives you 'mysqld_disable_trans -->
inactive'
do 'setsebool mysqld_disable_trans=1'
doing now again getsebool, you should see 'mysqld_disable_trans --> active'
try, if this works. if it doesnt try to relabel. i relabel using 'fixfiles
relabel'
HTH
Roger
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Ankush Grover: "Re: disabling /enabling daemon for selinux without root from command line"
- In reply to: Ankush Grover: "Re: disabling /enabling daemon for selinux without root from command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|