My user account doesnt have sudo despite being in sudoers. I cant run new commands i have to execute the binary. Grub takes very long to load with “welcome to grub” message. I just wanted a stable distro as arch broke and currupted my external ssd
Seems you get good help here. I am curious, after coming from Arch, why did you take the old af Debian? Currently its not that bad, but it will simply get boring if all the new stuff of like 2 years is missing. Why not Fedora or Opensuse? Psst, Fedora Atomic /Ublue images may also be nice!
My user account doesnt have sudo despite being in sudoers.
I don’t know what behavior you are seeing.
Install sudo, add the user to the sudo group, and log out and log back in again (okay, technically you could just
sg sudo
as that user rather than logging him out, but group privileges are assigned at login, and it’s probably easier to just log out).I cant run new commands i have to execute the binary.
Normally running a command does execute a binary. You mean that you have to fully-specify the path to the binary, that it’s not in your PATH? Like, you’re typing
/bin/ls
rather thanls
?It’s probably easier for people to understand what’s going on if you just paste the output you’re seeing and indicate what it is that you expected to see.
Maybe they mean lacking wheel groups? Or not knowing how to invoke sudo with a specific user?
Debian’s got a sudo group, not a wheel group.
EDIT: Oh, I see what you mean. Arch might use the wheel group and Debian the sudo group, and if he just copied his Arch sudoers file over his Debian one, it would reference the wheel group and wouldn’t work.
googles
Yeah, Arch has wheel.
https://linuxopsys.com/topics/add-user-to-sudoers-in-arch-linux
EDIT2: I bet he tried to add his user account explicitly to /etc/sudoers rather than just adding the account to the sudo group and just got the syntax wrong in one way or another, as the syntax of sudoers isn’t terribly intuitive.
In english you can use “they” if you dont know the persons pronouns ;D also pretty sure OP is female
But valid point, Debian is weird
Just asking: how long have you been using Arch and why? What qualities did you like in it?
Going from Arch to Debian is a huge leap. In my personal opinion, Debian is a great distro for servers or really really conservative desktop users, but it gets stale really fast.
Something in between both is ideal for deskop use, like Fedora, Ubuntu, Mint, etc… The half year release schedule keeps everything modern, but stable enough.
You said in another comment, that stability is the most important aspect for you. I recommend you…
Fedora Silverblue
Why?
- Great update schedule (see above)
- Extremely stable. Fedora at it’s base (already pretty reliable), immutable base (less bugs, since that’s more reproducible and therefore easier to fix), also
- Atomic updates. You either apply a functioning update, or no update at all. If you update on a traditional distro and loose power, it is only applied partially and your system is borked
- You can always rollback with one click if an update isn’t working as it should (e.g. screen flickering)
- Seamless updates. They just get installed in the background and when you reboot, the next image is already selected for you. I don’t even notice an update and never get annoyed. I shut my PC off anyhow every few days, since booting takes just a few seconds on an NVME.
- Base can be exchanged with one command. If you run Gnome and want to switch to KDE, you rebase with one command, reboot, and everything Gnome related is gone and KDE is installed cleanly! Feels like a reinstall, but your user settings and data are all still there. You can also rebase to something from Project uBlue, which offers custom images, like a SteamDeck-clone, different kernels, Cinnamon desktop, and so on…
- Huge software repository. You (should) never install .rpm s directly to your system, you use containers. Flatpak is great, but Distrobox even more! You can access the AUR too if you want and use those apps just like natively.
- And so on
I just Google “user not in sudoers Debian” and copy everything into a terminal - after booting into the Root shell - and forget about it.