Home » Questions » Computers [ Ask a new question ]

add myself back to sudo'ers list

add myself back to sudo'ers list

i've got a computer running Ubuntu 9.10 Server, and i added myself to a new group using the following command:

Asked by: Guest | Views: 251
Total answers/comments: 2
Guest [Entry]

"here's what i got to work:

reboot the computer by holding ctrl+alt+del at the initial log in screen after boot (physically at the machine, not ssh)
hold the esc key while booting
the computer entered some weird state where it has both a root shell and a login prompt. i was able to enter a command in between the pauses while the login prompt was checking my username/password
i added my username to the sudo line in /etc/group

i don't know what i was in, but i don't think it was the grub bootloader. any information on why it just gave me a root shell when i held esc during boot instead of grub would be appreciated, thanks."
Guest [Entry]

"here's what i got to work:

reboot the computer by holding ctrl+alt+del at the initial log in screen after boot (physically at the machine, not ssh)
hold the esc key while booting
the computer entered some weird state where it has both a root shell and a login prompt. i was able to enter a command in between the pauses while the login prompt was checking my username/password
i added my username to the sudo line in /etc/group

i don't know what i was in, but i don't think it was the grub bootloader. any information on why it just gave me a root shell when i held esc during boot instead of grub would be appreciated, thanks."