It wouldn't be too hard to modify ionice to allow non-super users to decrease 
their priorities, and tell them to naff off if they try to increase priorities, 
then all it would need to be is suid root.   Or you could write a wrapper to do 
the same.


-----Original Message-----
From: Randall R Schulz [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 December 2007 2:36 p.m.
To: [email protected]
Subject: Re: [opensuse] Beagle under 10.3 is really eating up my CPU

On Wednesday 19 December 2007 16:42, Carlos E. R. wrote:
> The Wednesday 2007-12-19 at 16:29 -0800, Randall R Schulz wrote:
> >> Unfortunately, that's right. You need to be root to increase and
> >> even decrease I/O priority using program ionice.
> >
> > How odd. Thankfully, I'm Lord and Master of my machines!
>
> So am I, but I don't want to run apps as root.

Actually, that's not necessary. You can always become root for the
purpose of exercising privileged operations and then go back to being
a "regular" user to carry out everyday tasks.

E.g.:

  su root -c 'ionice -c 3 su nonRootUser -c "ultimate command"'

Or, if you're already root:

  ionice -c 3 su nonRootUser -c "ultimate command"


> --
> Cheers,
>         Carlos E. R.


Randall Schulz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to