I'm a noob. I'm messing around on a raspberry pi trying to get the hang of things. I'm having a jolly time.
I don't now how to use vim. I know that you need to hit i to insert text, but I know very little about the commands to get things done.
Raspberry pis start you with a user named pi. There is also the root user. I was trying to update the password for the root user so that I could log into it instead of pi.
Because I don't know how to use vim I accidentally overwrote one of the colons separating data for the root user with an 8 or something. I was all like, I need to get out of here! :wq "Wait... No! That must mean write and quit!"
Is there any way that I can fix this. I will just reinstall the OS otherwise.
I'm nearly certain using root like this is a terrible idea, but whatever. I wouldn't do this for anything important. I'm literally just farting around and learning lessons. I was going to see if it allowed me to add another user, because I keep getting a limit message with 'pi'.