Android UIDs and GIDs

From Android Wiki

(Redirected from Android uids and guids)
Jump to: navigation, searcha
AID_ROOT             0  /* traditional unix root user */

AID_SYSTEM        1000  /* system server */
AID_RADIO         1001  /* telephony subsystem, RIL */
AID_BLUETOOTH     1002  /* bluetooth subsystem */
AID_GRAPHICS      1003  /* graphics devices */
AID_INPUT         1004  /* input devices */
AID_AUDIO         1005  /* audio devices */
AID_CAMERA        1006  /* camera devices */
AID_LOG           1007  /* log devices */
AID_COMPASS       1008  /* compass device */
AID_MOUNT         1009  /* mountd socket */
AID_WIFI          1010  /* wifi subsystem */
AID_ADB           1011  /* android debug bridge (adbd) */
AID_INSTALL       1012  /* group for installing packages */
AID_MEDIA         1013  /* mediaserver process */
AID_DHCP          1014  /* dhcp client */

AID_SHELL         2000  /* adb and debug shell user */
AID_CACHE         2001  /* cache access */
AID_DIAG          2002  /* access to diagnostic resources */

/* The 3000 series are intended for use as supplemental group id's only. */
/* They indicate special Android capabilities that the kernel is aware of. */
AID_NET_BT_ADMIN  3001  /* bluetooth: create any socket */
AID_NET_BT        3002  /* bluetooth: create sco, rfcomm or l2cap sockets */
AID_INET          3003  /* can create AF_INET and AF_INET6 sockets */
AID_NET_RAW       3004  /* can create raw INET sockets */

AID_MISC          9998  /* access to misc storage */
AID_NOBODY        9999

AID_APP          10000 /* first app user */

"root",      AID_ROOT
"system",    AID_SYSTEM
"radio",     AID_RADIO
"bluetooth", AID_BLUETOOTH
"graphics",  AID_GRAPHICS
"input",     AID_INPUT
"audio",     AID_AUDIO
"camera",    AID_CAMERA
"log",       AID_LOG
"compass",   AID_COMPASS
"mount",     AID_MOUNT
"wifi",      AID_WIFI
"dhcp",      AID_DHCP
"adb",       AID_ADB
"install",   AID_INSTALL
"media",     AID_MEDIA
"shell",     AID_SHELL
"cache",     AID_CACHE
"diag",      AID_DIAG
"net_bt_admin", AID_NET_BT_ADMIN
"net_bt",    AID_NET_BT
"inet",      AID_INET 
"net_raw",   AID_NET_RAW
"misc",      AID_MISC
"nobody",    AID_NOBODY

Source(s): Android solutions

Personal tools