-   Linux - Software (
-   -   forcing program to run in root mode (

acidjuice 03-09-2005 06:05 AM

forcing program to run in root mode
dear all,

i am writing a program under kylix and i need it to be run only by root, since it does modifications to root owned files.

how can i get it to run as root? if i chmod the binary file it will do, however as i'm releasing source code too i'd like that people that compile it already have this characteristic.

do you know how i could do this?

any suggestion welcomed.



trevelluk 03-09-2005 07:17 AM

If you're distributing a makefile to compile it, you can chmod in that.

All times are GMT -5. The time now is 08:18 PM.