Yesterday i've auto-blocked my root privileges on a remote server.
I was trying to enabling ssh access for a non priviliged user (not in the sudoer list) and i've added the line "AllowUsers unprivileged_user" on my sshd_config.
Unfortunally i've forget to add root the allowed users list and now i'm unable to enter the shell with root account or perform sudo commands from the only user allowed :(
There's any chance to solve the problem? I was thinking launching a login command inside the ssh session for the unpriviliged user and loggin in as root, but it's possible?
The server is running also a Parallel Plesk panel that is still accessible from root user, but apparently i can't access the / dir to configure sshd_config, if i go in the "Files" section of the panel i see only the root of the webserver dir.