The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

files and paths via ssh

Discussion in 'General Discussion' started by iLinux85, Sep 20, 2012.

  1. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    hello

    i want to know where the configurations files located via ssh for the following links
    PHP:
    https://ip-address:2087/cpsess1602309475/cgi/statmanager.cgi
    https://ip-address:2087/cpsess1602309475/scripts/edittime
    https://ip-address:2087/cpsess1602309475/scripts2/tweakcompilers
    https://ip-address:2087/cpsess1602309475/scripts2/modlimits
    https://ip-address:2087/cpsess1602309475/scripts2/ftpconfiguration
    https://ip-address:2087/cpsess1602309475/scripts2/tweakphpdir
    thanks
     
    #1 iLinux85, Sep 20, 2012
    Last edited: Sep 20, 2012
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    What are you trying to accomplish? If we know what you are trying to do, we could provide help.

    Most times, there isn't a set configuration file. If you need to run a command or change something, you'd want to use the API. If you are wanting to modify a theme instead, you could brand or clone it.

    Thanks!
     
  3. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hello Tristan

    i want to make ssh script that could change setting in those pages instead going to whm and change it page by page , so it will be easy for me

    thanks
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Change which settings? As I stated, there aren't actual configuration pages on the machine. You either need to use the API if you want to pass variables or you need to modify the template files using Branding or clone the theme. If you try to do it via SSH, that's not viable, since they are built with binaries and template files.
     
  5. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Let me expain with more details ... this settings want to do it by replacing the configuration files or execute commands via ssh

    Statistics Software Configuration
    Code:
    https://ip-address:2087/cpsess1602309475/cgi/statmanager.cgi
    • want to disable all generator in Generators Configuration
    Analog
    Awstats
    Logaholic
    Webalizer

    • set Process log files for 72 hours.
    • set Process bandwidth every 24 hours.
    • check Prevent cpanellogd (Log Processing) and cpbackup (Backups) from running at same time.
    • set specific hours in Statistics Processing Times


    Server Time
    Code:
    https://ip-address:2087/cpsess1602309475/scripts/edittime
    want to change the timzzone and sync it


    PHP open_basedir Tweak
    Code:
    https://ip-address:2087/cpsess1602309475/scripts2/tweakphpdir
    want to Enable php open_basedir Protection.



    Background Process Killer
    Code:
    https://ip-address:2087cpsess272995016/scripts2/dkillproc
    disable services
    BitchX
    bnc
    eggdrop
    generic-sniffers
    guardservices
    ircd
    psyBNC
    ptlink
    services


    Shell Fork Bomb Protection
    enable Shell Fork Bomb Protection
    Code:
    https://ip-address:2087/cpsess1602309475/scripts2/modlimits

    FTP Server Configuration
    disable Allow Anonymous Logins and Allow Anonymous Uploads
    Code:
    https://ip-address:2087cpsess272995016/scripts2/ftpconfiguration
     
Loading...

Share This Page