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

From: Roger Grosswiler (roger_at_gwch.net)
Date: 08/03/05

  • Next message: Lonnie: "Blacklist & Whilelist IP's from server?"
    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
    

  • Next message: Lonnie: "Blacklist & Whilelist IP's from server?"

    Relevant Pages

    • Re: Strange DBI error
      ... > repeat. ... Maybe it meant the connectstring for MySQL? ...
      (comp.lang.perl.misc)
    • RE: script/command for taking automatic backup of mysql database
      ... i wasn't aware that mysql 'allowed' you to access the mysql db/table using ... an 'encrypted' passwd. ... encrypted password is created through "select password(' ankush') " at ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: OdbcCommand, MySql and auto-increment field
      ... Is it a relatively new version of MySQL? ... HTH ... ALTAF ... > using proper named parameters. ...
      (microsoft.public.dotnet.framework.adonet)
    • RE: phpMyAdmin + MySQL
      ... > the Mysql library build in to earlier PHP versions is too old. ... > I installed the latest MySQL 4.1 using the RPMs from the mySQL site! ... >> HTH ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: fwrite() question
      ... Aaron Collins wrote: ... > results to a file using fwrite(). ... > interpreted mysql data. ...
      (comp.lang.php)