Android Basic 4 types of users:
| User type |
User Sub-string |
Uid |
Gid |
| Root |
Root |
0 |
0 |
| System |
System |
1000 |
1000 |
| Shell |
Shell |
2000 |
2000 |
| App |
Usernum_appnum |
uid>10000 |
gid>10000 |
App users, the GID you see may be u0_a0 and the like (Usernum_appnum)
(depending on the application, A0 is also a1,a2,a3 ....) Represents an app for User0)
What about the other non-integer user types? (Is it between these numbers?) )
Of course there are other, such as cache (for example gid=2001), nobody (gid=9999, but 9999 is not used) etc.
Some are used, and there is no, so there will be nobody
Like you went into the/DATA/DATA/COM.TENCENT.QQ directory.
Ls-l can see that the UID is u0_a59 GID is u0_a59
View Current User:
1. ADB shell (enter the shell environment)
2. WhoAmI (view user substring)
3. ID (see the user's specific information, such as UID, GID, groups, etc.)----This command more detailed
< Here's an example diagram >
View the UID & GID of a specific file? With Ls-l
For example:
Ls-l/system/app (you can see the UID and GID of the file here is root)
< Here's an example diagram >
Users of Androi