Your app has to run as root to do what you want. PAM is just a library, and can't promote your priviledges on its own. What I would suggest is sudo. You can configure it to run without asking for the user's password, and you can configure a list of apps that are OK to run as root. See your man pages for details.
In reply to Re: Authen::PAM Help
by meredith
in thread Authen::PAM Help
by groundstate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |