Utilisateur réel et effectif

Fermé
espéranza - 24 janv. 2005 à 22:37
Jean-François Pillou Messages postés 18707 Date d'inscription lundi 15 février 1999 Statut Webmaster Dernière intervention 16 février 2023 - 25 janv. 2005 à 17:57
Salut!

Quelqu'un connait il la différence entre un utilisateur réèl dont l'ID obtenu avec getuid et un utilisateur effectif dont l'ID obtenu avec geteuid.

merci de donnée suite à ma requête.
A voir également:

1 réponse

Jean-François Pillou Messages postés 18707 Date d'inscription lundi 15 février 1999 Statut Webmaster Dernière intervention 16 février 2023 63 268
25 janv. 2005 à 17:57
"man getuid" donne la réponse suivante :

DESCRIPTION
       getuid returns the real user ID of the current process.

       geteuid returns the effective user ID of the current process.

       The  real  ID corresponds to the ID of the calling process.  The effective
       ID corresponds to the set ID bit on the file being executed.
1