groundstate has asked for the wisdom of the Perl Monks concerning the following question:
Please end my suffering...
I'm writing an application (call it "main") in perl. I want it to be executed by a normal user, but I want applications lauched by "main" to run as root. I do NOT want "main" to run as root. I think I can make a pam.d file like this, and name it the same as "main".
auth sufficient pam_rootok.so auth required pam_console.so account required pam_permit.so
The Authen::PAM man page does not explain what code to use to launch a second application as root though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Authen::PAM Help
by meredith (Friar) on Jul 16, 2004 at 20:20 UTC | |
by groundstate (Initiate) on Jul 17, 2004 at 00:53 UTC | |
by meredith (Friar) on Jul 17, 2004 at 01:48 UTC | |
by jdalbec (Deacon) on Jul 17, 2004 at 01:45 UTC |