Re: disabling /enabling daemon for selinux without root from command line

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

 



> On 8/3/05, Roger Grosswiler <roger@xxxxxxxx> 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@xxxxxxxxxx
>> > 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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux