Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
47
rated 0 times [  47] [ 0]  / answers: 1 / hits: 281876  / 1 Year ago, tue, november 29, 2022, 6:28:01

Possible Duplicate:

How do I add a user to the “sudo” group?






I've added myself back into the admin's group I think, by following this.



But I still can't do commands like:



sudo aptitude update


I get the message



oshirowanen is not in the sudoers file.  This incident will be reported.


How do I add myself into the sudoers group now that I am in the admin group?


More From » sudo

 Answers
1

Login as root or su to get root prompt



type visudo



an editor will open find a line says



root ALL=(ALL) ALL


add one with your username below that



user ALL=(ALL) ALL


Type ctrl+x Type Y to the prompt


[#39162] Tuesday, November 29, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
herfor

Total Points: 490
Total Questions: 101
Total Answers: 110

Location: Guadeloupe
Member since Mon, Jan 24, 2022
2 Years ago
;