AAAAAEXQOSyIpN2JZ0ehUQ / ADM-MANAGER-ALPHA

Manager Script
8 stars 10 forks source link

Issue with Losing Root Access After Running Script on Debian 12 #2

Open AliveDedSec opened 3 months ago

AliveDedSec commented 3 months ago

Hello,

I encountered an issue after running your ADM-MANAGER-ALPHA-RUSSIAN script on a server running Debian 12.

After executing the script with superuser privileges (sudo), I lost access to the root user, and I encountered the following error when attempting to use sudo:

OPÇÃO: ^Cdebian@Adam-vpn-server:~/VPN-SERVER/ADM-MANAGER-ALPHA-RUSSIAN$ sudo adm
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

It appears that the script or one of its processes might have altered the permissions or ownership of /usr/bin/sudo, resulting in the inability to use the sudo command.

Could you please check if your script or any of its dependent scripts perform actions that could cause this issue, and advise on how to resolve it? This issue is critical as it prevents me from managing the server. Additionally, could you test the script on Debian 12 to see if the problem can be replicated and resolved?

Best regards

AAAAAEXQOSyIpN2JZ0ehUQ commented 2 months ago

Hola,

Lamentablemente, el script ADM-MANAGER-ALPHA fue descontinuado 30/01/2022 para versiones posteriores a Ubuntu 16.04 y Debian 9. Por lo tanto, puede que no sea completamente compatible con Debian 12 y podría causar problemas como el que has experimentado.

Para resolver el problema, te recomendaría:

Actualizar el Script: Modificar el script para que sea compatible con Debian 12. Esto puede requerir cambios en los comandos utilizados y en la forma en que se gestionan los permisos y archivos del sistema.

Probar en un Entorno Controlado: Realizar pruebas del script actualizado en un entorno de pruebas antes de ejecutarlo en un servidor de producción.

Saludos illuminati Dev Team