• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Oops...I think I screwed up Ubuntu

MournSanity

Diamond Member
Ubuntu was working fine until I went into the Users and Groups dialog and changed my username and password. Now I am getting authentication errors everywhere. For example, if I want to use apt-get sudo, it tells my that my username is not in the sudoers list. Also, I can't get back into the Users and Groups dialog, nor a million other things that require a password. Can this be fixed? Also, how would I be able to log in as root in Ubuntu?

Thanks.
 
I believe the root account is disabled by default because you're supposed to use sudo for everything. Did you ever set a root password during the installation?
 
Yeah I didn't understand that about Ubuntu either.

It's because it's mostly not needed, if you use sudo for everything you never need a root password.

I would boot the system into single user mode, which should give you a root shell, and rename the account back.
 
Ok, there is a recovery mode in Ubuntu that boots you as root. What are the commands to rename my account? usermod or something?

<--- Linux noob.

 
Back
Top