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.

idiot admins proof

Discussion in 'General Discussion' started by uadm, Aug 16, 2003.

  1. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    I have few admins that are allowed root access to my client servers. Some of them are idiots and connect with http://site:2086.
    Is there a way to disable this port and force connection to https://site:2087 ?

    Thanks

    P.s. not with firewall rules.
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You can disable that port with a firewall. Then they couldn't use it. I don't know how to redirect, but if they know about 2087 then they can figure it out. Also, they can do
    http://domain.com/securewhm and that will redirect to https://domain.com:2087

    cPanel.net Support Ticket Number:
     
    #2 casey, Aug 16, 2003
    Last edited: Aug 16, 2003
  3. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the idea. However, I'm not looking for workarounds. I have a situation that needs to be addressed directly.

    I absolutely not understand how Cpanel came up with this genius of idea.. Exactly like enabling telnet on the server and login as root.

    cPanel.net Support Ticket Number:
     
  4. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    its pretty simple.

    cd /usr/local/cpanel/base/
    mv whmredirect.cgi whmredirect.cgi.bak
    ln -s whmredirect.cgi swhmredirect.cgi

    you could use this with redirect.cgi and sredirect.cgi for cpanel.
    You can modify httpd.conf and change whm alias if you prefer

    cPanel.net Support Ticket Number:
     
  5. TheSpidre

    TheSpidre Active Member

    Joined:
    Mar 10, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    You can also edit whmredirect.cgi and let it point to the secure port and add an "s" behind http etc..

    But does cpanel updates cause problems to this? And how about httpd.conf?

    cPanel.net Support Ticket Number:
     

Share This Page