Page 1 of 1

root access password for admin user

Posted: Wed Apr 08, 2015 10:21 am
by eduzro
Hi

I´ve just started using vesta and to be honest I find it much better than other panels like zpanel I was using before, so thanks for your work.

I have a question related to admin default user and root access. I usual, I have a password for the root user in my server but I disabled ssh access for that user. When I login throught ssh with the vesta admin user and the password I setup in vesta, it´s all ok, but when doing a "sudo su" i need to enter the root password.... that in this case is the same password as the admin one. Shouldn´t be the root password the one matching the root password in my server instead of entering again the admin one?

If someone manages to enter the vesta interface trying to hack my sites, he will be able to gain root privileges just with the vesta password. Is there a way to change this root password so it matches my real root password? I´m using CentOS 6.5.

Re: root access password for admin user

Posted: Thu Apr 09, 2015 7:31 pm
by KeiroD
eduzro wrote:Hi

I´ve just started using vesta and to be honest I find it much better than other panels like zpanel I was using before, so thanks for your work.

I have a question related to admin default user and root access. I usual, I have a password for the root user in my server but I disabled ssh access for that user. When I login throught ssh with the vesta admin user and the password I setup in vesta, it´s all ok, but when doing a "sudo su" i need to enter the root password.... that in this case is the same password as the admin one. Shouldn´t be the root password the one matching the root password in my server instead of entering again the admin one?

If someone manages to enter the vesta interface trying to hack my sites, he will be able to gain root privileges just with the vesta password. Is there a way to change this root password so it matches my real root password? I´m using CentOS 6.5.
See /etc/sudoers