giving a normal user rights to use negative nice values

Kip Thomas kip.thomas at gmail.com
Wed Nov 15 22:37:03 UTC 2006


yeah sudo or whatever scheme is probably superior to my suggestion

On 11/15/06, William Murray <W.J.Murray at rl.ac.uk> wrote:
>
> 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
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061115/744d81e6/attachment-0001.htm>


More information about the fedora-list mailing list