Re: [PATCH] pam_exec questions and possible patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux