Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Linux Environment Security (LES) – need your help, please

Discussion in 'Security' started by copernic2006, Sep 5, 2012.

  1. copernic2006

    copernic2006 Member

    Joined:
    Dec 7, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    Hello,
    I want to install Linux Environment Security on my server (Linux Environment Security | R-fx Networks)
    For a good functioning with cpanel (during the automatic update of cpanel), it must be disabled before the update and reactivated once the update is complete,
    I want to create two files:
    1, /scripts/preupcp (to disable Linux Environment Security
    Code:
    #!/bin/sh
    /usr/local/sbin/les -da
    2, /scripts/postupcp (to reactivate Linux Environment Security)
    Code:
    #!/bin/sh
    /usr/local/sbin/les -ea 1
    Of course the two files have the necessary permissions****:
    chmod 0700 /scripts/postupcp
    chmod 0700 /scripts/preupcp

    Do you think that this method is correct and work without any problem?
    Thank you for your help.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice