How to allow user to use Mintupdate

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
glenn69
Level 1
Level 1
Posts: 13
Joined: Tue Oct 09, 2007 8:05 pm

How to allow user to use Mintupdate

Post by glenn69 »

How do I allow a normal user to update their machine via mintUpdate without also giving sudo permissions?

Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
muffin

Re: How to allow user to use Mintupdate

Post by muffin »

Hello,

I haven't tested this on Mint specifically, but generally you can use /etc/sudoers (using visudo) to specify which users can run which commands.

An entry along the lines of:

Code: Select all

alice    ALL=NOPASSWD: /usr/bin/mintupdate
...should let alice run mintupdate with escalated privileges, without being prompted for a password.

As usual, the Arch wiki is good reading: https://wiki.archlinux.org/index.php/Sudo#Configuration

- m
Locked

Return to “Software & Applications”