User id in linux



Keywords: user id in linux
Description: The UID number 0 is special and used by the root user. The zero (0) UID enjoys the unrestricted/unlimited access to Linux system. Note that 0 UID assigned to name root; if you wish you can change

The UID number 0 is special and used by the root user. The zero (0) UID enjoys the unrestricted/unlimited access to Linux system. Note that 0 UID assigned to name root; if you wish you can change this (poorly written program may fail) and assign different name.

Similarly, you have group id (GID). It is use by Linux to refer group names. Single user can be member of multiple groups. This result into very good flexibility for access the system and the sharing files. Many UNIX system uses wheel group as power user group. Like the UID value, zero GID value zero enjoys the unrestricted/unlimited access to Linux system.

It is use to determine what level of access the current process has. When EUID is zero then the process has unrestricted/unlimited access. Following commands can be used to print Effective User ID under Linux:

It is use to identify who you actually are. Once it is setup by system (usually login program) it cannot be change till your session terminates. You cannot change your RUID. Only root (or person having zero UID) can change the RUID. Use the command id as follows to obtain Real user ID:

When new process / executable file such as passwd, started the effective user id that is in force at the time is copied to the saved user id. Because of this feature, you are able to update your own password stored in /etc/shadow file. Off course, executable file must have set-user-id bit on in order to setuid (system call). Before process ending itself it switches back to SUID.

  • RUID. Identify the real user, normal user cannot change it.
  • EUID. Decides access level, normal user can change it.
  • SUID. Saves the EUID, normal user cannot change it.
  • Real Group ID. Identify the real group
  • Effective Group ID and Supplementary group ID. Decides access level






Photogallery User id in linux:


Display your linux account userid  Dell Cloud Manager Blueprint ...


Linux check groups user belongs


Finding-_Process_Id_Using_JPS.jpg


NetIQ Documentation: PlateSpin Migrate 9.3 User Guide - Working ...


Screenshot_usergroupsl_acl_J3_ ...


Integrate your Aruba Wireless User Data with your Palo Alto ...


Integrate your Aruba Wireless User Data with your Palo Alto ...


Integrate your Aruba Wireless User Data with your Palo Alto ...


NetIQ Documentation: PlateSpin Migrate 9.3 User Guide - Working ...


How to Setup SipToSis with an ATA - Configuration


Working from Home Linux - CEFNS Information Technology - Northern ...


Linux Domain Identity, Authentication, and Policy Guide


Kali Linux Hard Disk Install | Kali Linux


linux-ud5-gestion-de-usuarios- ...


Identity Management | Crystal Point : The Blog


Setup Canon ImageRunners for Linux - School of Aeronautics and ...


How user accounts, rights and ownership work in Linux | TechRadar


linux-ud7-gestion-de-procesos- ...