gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
Since this program is always started as a regular non-priviledged user, is there a safe, reliable way to prompt the user for the root password, attempt to switch to root and, if successful, do the the necessary task, exit from root, and then continue running as normal user?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting root permissions via program
by stiller (Friar) on Feb 25, 2008 at 13:25 UTC | |
by Fletch (Bishop) on Feb 25, 2008 at 14:01 UTC | |
by stiller (Friar) on Feb 25, 2008 at 14:05 UTC | |
by gri6507 (Deacon) on Feb 25, 2008 at 15:22 UTC | |
by stiller (Friar) on Feb 25, 2008 at 15:29 UTC |