[PATCH] pam_exec questions and possible patch
Thorsten Kukuk
kukuk at suse.de
Mon Mar 26 14:04:35 UTC 2007
On Mon, Mar 26, Aaron Cohen wrote:
> Thorsten, please read the setuid(2) man page!
>
> DESCRIPTION
> setuid() sets the effective user ID of the current process. If
> the effective UID of the caller is root, the real UID and saved
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> set-user-ID are also set.
^^^^^^^^^^^^^^^^^^^^^^^^^
The effective UID of setuid root applications like passwd is root.
So the real user ID will be set.
Thorsten
--
Thorsten Kukuk, Project Manager Base System, Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)
More information about the Pam-list
mailing list