* Permission problems - though all three UIDs are 0
@ 2018-11-21 15:51 Christoph Pleger
0 siblings, 0 replies; only message in thread
From: Christoph Pleger @ 2018-11-21 15:51 UTC (permalink / raw)
To: linux-kernel
Hello,
I want to ask for the possible reasons why a program, called from
another program with setuid-root file permissions and an additional
setreuid(0,0) to also set the real uid to 0, still gets an "Operation
not permitted" error.
In my case, I execve lvcreate from the setuid-root binary. This works
well when I use my program as a non-root user from the command line, but
I want to call it is a non-root user from pam_exec PAM module and with
that lvcreate fails.
Regards
Christoph
PS: Please, no discussion about possible security holes in
setuid-programs here
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-21 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 15:51 Permission problems - though all three UIDs are 0 Christoph Pleger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®