Niels Hald Pedersen wrote: > My programs in question needs root permissions to 1) apply for real time > scheduling, and 2) programming of /dev/rtc. As these things are done > once at startup time only, I will give up root rights hereafter (setuid > or seteuid, cant remember, not on a Linux system now). I havent tried > this yet, though. The standard way to permanently drop all root privileges on Linux is to call `setuid(getuid())'. -- Glynn Clements <[EMAIL PROTECTED]>
- setuid root ? Niels Hald Pedersen
- Re: setuid root ? Marin D
- Re: setuid root ? Pete Ryland
- Re: setuid root ? The Wildman
- Re: setuid root ? Glynn Clements
- Re: setuid root ? Choi Hojin
- RE: RE: setuid root ? Niels Hald Pedersen
- RE: setuid root ? Glynn Clements
- RE: setuid root ? Glynn Clements