raylin

Active Member
Sep 9, 2001
26
0
301
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
[quote:b17ffc0b53]
sub dodoc {
local $SIG{ALRM} = sub { die \"Connection Timeout\\n\" };
alarm(500);

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\";
exit;
}
[/quote:b17ffc0b53]

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