This question already has an answer here:
I would like to know how to reset Ubuntu to default and if it resets my terminal.
I tried to put in a command to make it if I messed up my password it would tell me something sassy. I did that in the /etc/sudoers/ file, and I messed it up. I can't use any sudo command and I would like to reset my terminal, or my whole Ubuntu set up. I tried to initiate super-user with
su and I put in my password correctly, as this is a private computer, and it told me
su: Authentication Failure.
If you could please tell me how I could undo my mistake I would appreciate it. This is a new computer so Factory Reset would not delete anything important. I will provide anymore detail that you may request, if I know it. I am new to Ubuntu and Linux.