Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    12

    Default cPanel Design

    Hi,

    I've been working as a system administrator for about two years now and I've got to say cPanel has made my job bit easier in some areas but made some things that should be extremely simple a real pain.

    I'm trying to offer my thoughts as constructive criticism so cPanel gets better so please don't just delete this thread out of hand.

    My first question is about the primary domain design. I just can't figure out why you insist on adding a sub-domain off the primary domain for each add-on domain. Why?

    My second complaint is about input validation. If you are going to use the folder name as the sub-domain for an add-on domain PLEASE insure that the folder name is a valid DNS label. As far as I know you are using perl so this should be a simple regex one liner.

    Third: PLEASE, PLEASE, PLEASE do your checks BEFORE you start diving in and modifying everything only to find out the operation fails and have to revert all the changes. This almost always results in an admin having to muck around in 99% undocumented configuration files to fix the issue or open a ticket with you guys to get you to fix it.

    Adopt a decent structure for storing vhost information:

    What is wrong with ~/vhosts/<vhostname>/{mail,www,logs}

    Four: Verbose error messages when something does go wrong. e.g. Can't add a new parked domain because there is an existing DNS zone file in /var/named? Say So! If you don't do this for security reasons put it in the cPanel log file.

    Five: We need Password complexity requirements. Since you don't use pam for ftp authentication, mail auth, etc these need to be implemented in cPanel.

    Six: Please read http://www.pathname.com/fhs/pub/fhs-2.3.html and stop storing configuration and logs in /usr

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    12

    Default

    No comments at all?

  3. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by xous View Post
    No comments at all?
    It would probably be best if you opened a support ticket @ https://tickets.cpanel.net/submit/ as these fourms are not an official means of support. It is likely that you have nobody has responded to your post because it is not possible to address all of your concerns with much more information.

    However you may wish to check out this area in WHM:

    Main >> Security >> Security Center >> Password Strength Configuration

    Also make sure you are using the x3 theme and not one of the older themes.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by xous
    My first question is about the primary domain design. I just can't figure out why you insist on adding a sub-domain off the primary domain for each add-on domain. Why?
    Legacy reasons. This will change at some future date, but for now it remains in place. At one point we treated httpd.conf as a definitive datastore for certain account information. Providing a addon -> subdomain mapping was one way to perform an accurate lookup of ownership. We've since moved away from using httpd.conf like that.

    Quote Originally Posted by xous
    My second complaint is about input validation. If you are going to use the folder name as the sub-domain for an add-on domain PLEASE insure that the folder name is a valid DNS label. As far as I know you are using perl so this should be a simple regex one liner.
    Are you using the X3 theme? In X3, you have to set a separate Folder name from the Subdomain. The folder name is not used for the Zone, but the Subdomain name is. Also (testing in 11.24) invalid DNS characters are prevented from use. Do you have specific characters that should be blocked but aren't?

    Quote Originally Posted by xous
    Third: PLEASE, PLEASE, PLEASE do your checks BEFORE you start diving in and modifying everything only to find out the operation fails and have to revert all the changes. This almost always results in an admin having to muck around in 99% undocumented configuration files to fix the issue or open a ticket with you guys to get you to fix it.
    Specific examples are more useful than general complaints. Please itemize the problems you are experiencing.

    Quote Originally Posted by xous
    Four: Verbose error messages when something does go wrong. e.g. Can't add a new parked domain because there is an existing DNS zone file in /var/named? Say So! If you don't do this for security reasons put it in the cPanel log file.
    Noted. Thank you.

    Quote Originally Posted by xous
    Five: We need Password complexity requirements. Since you don't use pam for ftp authentication, mail auth, etc these need to be implemented in cPanel.
    Some complexity requirements can be set using the Password Strength Configuration tool in Security Center within WHM. Have you examined them?

  5. #5
    Member
    Join Date
    Jun 2007
    Posts
    12

    Default

    Second and third might have been left over from cPanel 10.X. I'll see if I can still duplicate the behavior and open a ticket.

    However you may wish to check out this area in WHM:

    Main >> Security >> Security Center >> Password Strength Configuration
    This looks like what I need.

    I will open a ticket for the remaining comments.

  6. #6
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by xous View Post
    Second and third might have been left over from cPanel 10.X. I'll see if I can still duplicate the behavior and open a ticket.



    This looks like what I need.

    I will open a ticket for the remaining comments.
    Thank you for doing that.

Similar Threads & Tags
Similar threads

  1. New cPanel design themes?
    By SingleOS in forum Themes and Branding
    Replies: 4
    Last Post: 01-16-2010, 03:08 AM
  2. About CPANEL design
    By dabdoub in forum Themes and Branding
    Replies: 3
    Last Post: 05-29-2008, 02:30 PM
  3. xhtml/css style design for cpanel?
    By avio in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-06-2006, 02:37 PM
  4. cpanel design improvement
    By antoshka in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-12-2004, 10:02 AM
  5. Cpanel Theme Design
    By TRPN in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2004, 03:40 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube