|
发表于 2007-12-22 20:53:49
|
显示全部楼层
Every process has six or more IDs associated with it:
real user ID
real group ID
effective user ID
effective group ID
supplementary group IDs
saved set-user-ID
saved set-group-ID.
The real user ID and real group ID identify who we really are. These two fields are taken from our entry in the password file when we log in. Normally, these values don't change during a login session.
The effective user ID, effective group ID, and supplementary group IDs determine our file access permissions, as we describe in the next section.
以上文字摘自APUE2一书4.4节. 具体请见该书.网上有电子版.
注:APUE2指<<Advanced Programming in the UNIX Environment>>Second Edition |
|