hi there...im writing a pam module with encryption using gpg. <br>im trying to use popen() to run external command like gpg.<br>FILE *fp<br>fp = popen("sudo gpg -ear....", "r");<br><br>the problem is, im trying to run this with the sudo command
<br>but the pam module won't accept it,<br>the error is<br><br>sudo: gpg: commant not found<br><br><br>please help i really need to run gpg with sudo <br clear="all"><br>-- <br>ronald de la cruz