Deb12/Bookworm installed 26May24. Searched this forum for keyword: sudoers - 600+ hits returned. Read several, but didn't see my exact problem.
How do I add the "user" (not the administrator) to the sudoers file in order to remove a symlink? Or any other task requiring elevated permissions, short of being root administration?
From the Internet:
so I did: su - and entered root pw. Next typed: usermod -aG my-user-name.
Checking for addition of user to sudoers group:
terminal returns:
but when I do:
rm symlink, the terminal returns: my-user-name is not in the sudoers file.
How do I add the "user" (not the administrator) to the sudoers file in order to remove a symlink? Or any other task requiring elevated permissions, short of being root administration?
From the Internet:
Code:
sudo usermod -aG sudo [username]
Checking for addition of user to sudoers group:
Code:
root@debian:~# groups my-user-name
Code:
my-user-name : my-user-name cdrom floppy sudo audio dip video plugdev users netdev bluetooth lpadmin scanner
rm symlink, the terminal returns: my-user-name is not in the sudoers file.
Statistics: Posted by JeSuisFlaneur — 2024-05-27 13:53 — Replies 3 — Views 104