Changing ROOT Password with Bash Scripting
So you know when you spin up a new droplet and you first SSH into it and it asks you for the current password, then to change the password [twice]? Could this be done automatically say via a Bash/Shell script?
I’m looking to automate the process to where nobody has to SSH into a droplet and change it manually.
Surely possible, I just don’t know much about bash/shell scripting.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.