Hi. using droplet :
I have an issue with the root password of our droplets. still able to login with ssh keys to forge user.
But when i try to switch to root user with new password that i got in email, it still says incorrect password
so to droplet really can’t login as the root, only an ordinary user. we can’t do any changes that involves root permission.
Can you please advise on how we can retrieve our root password.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello friend!
Great question. I believe Laravel Forge disables root password login when their system provisions a droplet. You may try “su” from the forge user. If their provisioning configuration allows, that would elevate you to root (it might ask for a password for the forge user, can be reset with command “passwd”). If that does not work, your only recourse is to use our web console to log in with root password and re-enable password login for the root account by editing /etc/ssh/sshd_config.
Kind Regards, Jarland
Please give more details of what operating system you set up.
Also if your user has sudo permission, you can run the following command: sudo su -
Wayne Sallee Wayne@WayneSallee.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.