Just curious about Termux user IDs. #9418
-
Anyone know how these are allotted within Termux? I have two identical phones, on one the user ID is u0_a246@localhost, on the other it is u0_a247@localhost. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These are unique user ids assigned to each app per profile at install time by android so that apps run with their own specific capabilities/access and sandbox. Termux does not allocate them and you normally can't change them, other than possible root hacks.
https://cs.android.com/android/platform/superproject/+/android-11.0.0_r40:system/core/libcutils/include/private/android_filesystem_config.h;l=189 |
Beta Was this translation helpful? Give feedback.
These are unique user ids assigned to each app per profile at install time by android so that apps run with their own specific capabilities/access and sandbox. Termux does not allocate them and you normally can't change them, other than possible root hacks.
https://cs.android.com/android/platform/superproject/+/android-11.0.0_r40:system/core/libcutils/include/…