[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: giving a normal user rights to use negative nice values



On Wed, 2006-11-15 at 17:25 -0500, [email protected] 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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux