How do I allow a normal user to update their machine via mintUpdate without also giving sudo permissions?
Thank you
How to allow user to use Mintupdate
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How to allow user to use Mintupdate
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to allow user to use Mintupdate
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:
...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
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
As usual, the Arch wiki is good reading: https://wiki.archlinux.org/index.php/Sudo#Configuration
- m