How to allow user to use Mintupdate

Questions about applications and software
Forum rules
Before you post please read how to get help
glenn69
Level 1
Level 1
Posts: 13
Joined: Tue Oct 09, 2007 8:05 pm

How to allow user to use Mintupdate

Postby glenn69 » Thu Mar 28, 2013 11:54 am

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

Thank you

muffin
Level 1
Level 1
Posts: 6
Joined: Wed Dec 26, 2012 4:45 pm

Re: How to allow user to use Mintupdate

Postby muffin » Tue Apr 02, 2013 1:28 pm

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


Return to “Software & Applications”

Who is online

Users browsing this forum: No registered users and 6 guests