Resetting and accessing Droplet password
If I reset my password will this update the passwd file?
The reason that I ask is because I foolishly edited my /etc/passwd manually and in the process deleted the root user line. Now I am unable to use sudo to edit the file.
My solution is to purchase a new droplet and replicate my existing server. However I am not sure if this is truly necessary. I am fairly new to server admin, hence the foolish behaviour of manually editing my passwd file! Any info would be greatly appreciated.