• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Lost root password? Hmm?

D

dadexix

Guest
Hello:) i have this question... Can I via plesk change root password? or Can I read/write /etc/sudoers(via php script or other?) Or Can I read/write /etc/shadow /etc/passwd?

I try add user with root permissions but I don't do one thigs - add new user to root group, and i lost root account... best is add new lines to /etc/sudoers and change password via ssh on other user but if it isn't posible maybe other?


Can I change linux root password only via plesk(admin user)..? plesk module for this? Who have idea's?:)

Server: Debian 4.0 64bit
Plesk: 8.4

Regards!

Sorry for my english:(
 
I think the only way (not sure) is to ask to reboot via console passwordless mode and change the root password.
 
Back
Top