Hi everyone,
sorry for my newbie question... Its more linux than plesk, but i hope you guys can help me!
I set up my new Server with Plesk on top of it, to make it more secure, i denied root ssh login. And allowed only one user to login via ssh.
Now I recognized, that the only user which can login over SSH has no right to perform sudo commands. I forgot the entry in the sudoers file!
My hope is to get it running any how by using the Plesk interface. I saw that It's possible to perform a command as root.
Is it possible to get my user into the sudoers with this solution? I already tried that:
But it didn't work after restart.
Are there any ideas or solutions?
Thanks in advance.
Felix
sorry for my newbie question... Its more linux than plesk, but i hope you guys can help me!
I set up my new Server with Plesk on top of it, to make it more secure, i denied root ssh login. And allowed only one user to login via ssh.
Now I recognized, that the only user which can login over SSH has no right to perform sudo commands. I forgot the entry in the sudoers file!
My hope is to get it running any how by using the Plesk interface. I saw that It's possible to perform a command as root.
Is it possible to get my user into the sudoers with this solution? I already tried that:
Code:
echo "myuser ALL=(ALL:ALL) ALL">>/etc/sudoers
But it didn't work after restart.
Are there any ideas or solutions?
Thanks in advance.
Felix