ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
909 stars 123 forks source link

sudo group #23

Open abdullahazmy opened 1 month ago

abdullahazmy commented 1 month ago

image

Even if i run the command with sudo, the same issue comes .. Using Debian 12

arch-holic commented 1 month ago

To add the user to sudoers group run: EDITOR=nvim visudo

then Uncomment the line (Remove #): # %wheel ALL=(ALL) ALL

Note: To do this you have to login as root user.

abdullahazmy commented 1 month ago

[!NOTE] The user is already in the sudoers group

arch-holic commented 1 month ago

Seems like this script has some serious issue, it broke my internet in terminal, now both w3m & pacman are not working here and ping says 100% packet loss although brave is working, maybe 'coz it's a flatpak on my arch.

Edit: I manually added Mirrors & pacman worked but when I used script again, my mirrorlist again got wiped.

RazoBeckett commented 1 month ago

@arch-holic can you tell us what script did you ran, so that it would be easier to fix.

smogan commented 1 month ago

image

Even if i run the command with sudo, the same issue comes .. Using Debian 12

same here when running the script as a user (dietpi x86_64, based on debian 12). the suggested fix from arch-holic to uncomment the %weel does not work here beause there is no %wheel group on dietpi. I can run the script with no errors when switching via "su" command to root user.

abdullahazmy commented 1 month ago

@smogan Yes this is really the solution to the issue, but not sure if it's the only way to solve it, as some people don't like to run scripts as root user

smogan commented 1 month ago

@smogan Yes this is really the solution to the issue, but not sure if it's the only way to solve it, as some people don't like to run scripts as root user

of course this is not a suitable solution 🙂. also there were other problems, but that's likely off topic in this thread.

assasen11 commented 1 month ago

This also failed on a Fedora 40 install I was testing.