in reply to Re: getting root permissions via program
in thread getting root permissions via program
Or make a small helper utility which does the bare minimum of work that requires elevated privileges and run that via sudo. But seconded; you really don't want to try and do it yourself if you can get away with off the shellf. Just let sudo do the heavy lifting for you (something that's its specialized in; not to mention it's high profile and will have way more eyeballs scrutinizing it than your code would).
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: getting root permissions via program
by stiller (Friar) on Feb 25, 2008 at 14:05 UTC |