this post was submitted on 02 Aug 2026
16 points (100.0% liked)

Linux Questions

4158 readers
2 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 3 years ago
MODERATORS
 

Distribution: Fedora Linux 44 (Workstation Edition)

I created a new Linux user and gave it admin with the gui interface, I then switched to it, but could not run sudo commands.

So I entered sudo usermod -a -G wheel [USER] to grant sudo rights through the cli, but still, the new user could not use sudo.

I logged in and out multiple times, but it did not help.

Then I restarted Linux and suddenly the new user could use sudo.

To test if it was now working, I striped sudo rights from the new user. But then I realized that the new user could still use sudo.

So it seems that sudo privileges only update on operating system restart? Is this correct, or is something wrong with my system?

Sorry if this is a stupid post

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Remy@lemmy.today 2 points 1 month ago (1 children)

So that I be able to use Gnome Parental Control to regulate my self. Especially in the way of bedtime enforcement

[โ€“] Griffus@lemmy.zip 0 points 3 weeks ago

Not a bad idea! I started with a sun based dimming and red shift of the screen light, so that it's not keeping me awake, but I live in Norway, so I had to switch to clock based, as we switch between 3 hours of daytime to 3 hours of nighttime throughout the years, but it has worked out quite well over the last few years. Not restrictive if I want to stay up, but still not keeping me awake, making it easy to go straight to bed when I'm getting drowsy.