Hello,
On 2018-11-19 15:04, matthew patton wrote:
program calls getpwuid() with the real user id of the calling user
maybe I missed a critical post explaining why it has to be, but that's
a job for a trivial sudo specification line.
I can't think of any reason why sudo is not the answer to your
problem, or frankly isn't always the answer.
I have already tried sudo before writing my own setuid-root-program, by
calling it directly from pam_exec and by letting pam_exec call another
program first that calls sudo. Either case failed, even with simple
tests like letting sudo run /bin/ls (and of course I checked before that
the same user could use sudo from the command line).
Regards
Christoph
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/