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!

Cpanel Reserved Keyword.

Discussion in 'General Discussion' started by raylin, Nov 5, 2001.

  1. raylin

    raylin Active Member

    Sep 9, 2001
    Likes Received:
    Trophy Points:
    Could any cpanel developer give us a list of reserved keywords that we shouldn\'t use as a username.

    I have created an account \'viewer\' for my client and he told me he could not view webalizer stats.

    I traced cpaneld code and found that
    sub dodoc {
    local $SIG{ALRM} = sub { die \"Connection Timeout\\n\" };

    if ($document =~ \"\\.\\/viewer\") {
    $document =~ s/^\\.\\/viewer//g;
    $document =~ s/^\\///g;
    $document =~ s/^$ENV{\'HOME\'}//g;
    $document =~ s/^\\///g;
    $document = $ENV{\'HOME\'} . \"/\" . $document;

    if(($document =~ /^\\.\\/admin/ || $document =~ /^\\/admin/) && $user ne
    $adminuser) {
    print NS \"HTTP/1.0 404 Not Found\\r\\n\";
    print NS \"Server: $myname/$version\\r\\n\";
    print NS \"Connection: close\\r\\n\";
    print NS \"Content-type: text/html\\r\\n\\r\\n\";
    print NS \"<h1>Permission Denied!</h1>\\n\";

    (I guess) It seems cpaneld will not work properly if username is \'viwer\'. Am I right?

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