Score:0

How to create a user and give it sudo privileges

cn flag

By mistake, I removed my own user from the "sudo" user group. Now, every time I try to sudo something, I get ... is not in the sudoers file. This incident will be reported.. I can't sudo anymore. How can I solve this?

If I run the command grep '^sudo:.*$' /etc/group | cut -d: -f4 to list all users in the sudo group as described here, the response is empty.

Alejandro Veintimilla avatar
cn flag
@steeldriver yes it did. Although the solution was not exactly the same cause its 11 years old. Anyway, Thanks!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.