Sudo and real-time priorities
From: Cédric Pillonel (cedric.pillonel_at_swisscom.com)
Date: 07/05/05
- Previous message: Jeff Seale: "Ubuntu - saving configs and recalling them @ startup"
- Next in thread: ray: "Re: Sudo and real-time priorities"
- Reply: ray: "Re: Sudo and real-time priorities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 5 Jul 2005 08:50:10 +0200
In my C++ application I want to set real-time priorities to my POSIX threads
by calling pthread_setschedparam(). Real-time priorities can only be set by
root and my application is started by a non-root user.
I have tried to add an entry for this user in the 'sudoers' file (with
NOPASSWD) and then to start my application with a sudo command but setting
real-time priorities is still unsuccessfull.
How could my application gain root privilege to set real-time priorities?
Any other idea?
I'm running Linux Redhat 9.
Thank you.
- Previous message: Jeff Seale: "Ubuntu - saving configs and recalling them @ startup"
- Next in thread: ray: "Re: Sudo and real-time priorities"
- Reply: ray: "Re: Sudo and real-time priorities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|