I'm trying to do a login in my Ubuntu, but I can't:
I read Q&A about enabling root user, but how I can do it without a sudoer user? How can I add a sudoer user without having root access? I think it is a loop!
When you install Ubuntu, the first user you create has sudo access. If that's how you are logged on, and you don't have sudo access, you must have messed up something. Boot from installation media, mount your root partition and edit /etc/sudoers to include your username (and/or edit your groups file to include your username to the sudo group).
By default, you cannot log in as root on an Ubuntu machine. There are lots of ways of changing this, but it's probably best if you don't until you can figure out how to do it on your own :)
When you install Ubuntu, the first user you create has sudo access. If that's how you are logged on, and you don't have sudo access, you must have messed up something. Boot from installation media, mount your root partition and edit
/etc/sudoers
to include your username (and/or edit your groups file to include your username to thesudo
group).By default, you cannot log in as root on an Ubuntu machine. There are lots of ways of changing this, but it's probably best if you don't until you can figure out how to do it on your own :)