Re: root privileges
Ben Hague <[email protected]> Wed, 12 Mar 2003 10:31:57 +0000
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Organization | Ravenfield Designs |
| Message-ID | <03031210315704.01066@linux> |
If you want root privileges for your app then set the suid bit, i.e "chmod +s <your app>". I don't know if it's possible to give only certain parts of the program root privileges. Ben Hague On Wednesday 12 March 2003 9:58 am, you wrote: > Hi everybody, > > I guess there is a way to get root privileges to run my app. Well, only my > application or, even better, perform something inside my application > (read/write on IO ports to get/set can registers) as I were root, while it > was launched as an ordinary user. > How to do that? > Or, anyway, what is the correct procedure to do that, provided the > application is to drive an electronic machinery, so that prompts for > passwords are a-no-so-good-solution... > > TIA > Batman > > > > ------------------------------------------------------- > Forum / mailing list for Borland Kylix programmers > Our web page: http://groups.yahoo.com/group/kylixgroup > To join the forum: [email protected] > To unsubscribe: [email protected] > To post your messages: [email protected] > To contact the moderator: [email protected] > ------------------------------------------------------- > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/i7folB/TM ---------------------------------------------------------------------~-> ------------------------------------------------------- Forum / mailing list for Borland Kylix programmers Our web page: http://groups.yahoo.com/group/kylixgroup To join the forum: [email protected] To unsubscribe: [email protected] To post your messages: [email protected] To contact the moderator: [email protected] ------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/