giving a normal user rights to use negative nice values
William Murray
W.J.Murray at rl.ac.uk
Wed Nov 15 22:34:17 UTC 2006
On Wed, 2006-11-15 at 17:25 -0500, fedora-list-request at redhat.com wrote:
> Hi,
>
> Can someone point me towards a howto on what I need to do to allow a
> non-root
> user to run commands with negative nice values, eg.
>
> > nice --adjustment=-10 ls
> nice: cannot set niceness: Permission denied
>
> what do I need to do to allow this ?
>
> cheers Chris
>
>
Hi Chris,
Surely this is not intended? I mean the system has priority
because it needs it?
You could of course do it with sudo. The following in /etc/sudoers
murray ALL = NOPASSWD:/bin/nice
allows me to do
> sudo nice --adjustment=-10 ls
Does that do what you need?
Bill
More information about the users
mailing list