How do I find my UID and GID?

How do I find my UID and GID?
Answer
How to Find UID and GID
  1. Open a terminal window. …
  2. Type the command “su” to become the root user. …
  3. Type the command “id -u ” to find the UID for a particular user. …
  4. Type the command “id -g ” to find the primary GID for a particular user. …
  5. Type the command “id -G ” to list all the GIDs for a particular user.
 

Tìm kiếm

Back
Top