cPanel login redirect loop
-
Hello, Do you notice any error messages in /usr/local/cpanel/logs/error_log or /usr/local/cpanel/logs/login_log when this happens? Thank you. 0 -
/usr/local/cpanel/logs/login_log shows the following: "POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN whostmgrd: login attempt to whm by a non-reseller/root DEFERRED LOGIN cpaneld: switchuser: uid or gid passed user switch is less than 99 0 -
Hello, The error message suggests the UID or GID for one of your users is possibly below "99". Could you search the /etc/passwd and /etc/shadow files to see if the user you are logging in as, or any user for that matter, utilizes a low numbered UID/GID? Here's the commands to use: grep $username /etc/passwd grep $username /etc/shadow
Or, view the full /etc/passwd and /etc/shadow files with the "cat" command to find the offending account. Thank you.0 -
$username:x:501:48::/home/$username:/bin/bash The GID needs to be above 99? Does that mean it would have access to anything set to or below 99? 0
Please sign in to leave a comment.
Comments
5 comments