GETUID
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Þ´º¾ó (2)
Updated: 1993³â 7¿ù 23ÀÏ
Index
Return to Main Contents
À̸§
getuid, geteuid - »ç¿ëÀÚ ½Äº°ÀÚ(identity)¸¦ ¾Ë¾Æ³½´Ù.
»ç¿ë¹ý
#include <unistd.h>
#include <sys/types.h>
uid_t getuid(void);
uid_t geteuid(void);
¼³¸í
getuid´Â
ÇöÀç ÇÁ·Î¼¼½ºÀÇ ½ÇÁ¦(real) »ç¿ëÀÚ ID¸¦ ¸®ÅÏÇÑ´Ù.
geteuid ´Â
ÇöÀç ÇÁ·Î¼¼½ºÀÇ À¯È¿(effective) »ç¿ëÀÚ ID¸¦ ¸®ÅÏÇÑ´Ù.
½ÇÁ¦ ID´Â È£ÃâÇÑ ÇÁ·Î¼¼½ºÀÇ IDÀÌ´Ù.
À¯È¿ ID´Â ½ÇÇàµÇ°í ÀÖ´Â ÆÄÀÏ¿¡ ¼³Á¤µÈ IDÀÌ´Ù.
¿¡·¯
ÀÌ ÇÔ¼öµéÀº Ç×»ó ¼º°øÇÑ´Ù.
ȣȯ
POSIX, BSD 4.3.
°ü·Ã Ç׸ñ
setreuid(2),
setuid(2)
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2000³â 5¿ù 2ÀÏ
Index
- À̸§
-
- »ç¿ë¹ý
-
- ¼³¸í
-
- ¿¡·¯
-
- ȣȯ
-
- °ü·Ã Ç׸ñ
-
- ¿ªÀÚ
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:00 GMT, March 25, 2004