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.
cheers,
aj.
|