The real UID is the user identity at initial login, but it can be changed. The effective UID is the user identity used for access control. For example, if only UID 22 .