Does the Android operating system have files like /etc/passwd, /etc/shadow, and /etc/group?

前端 未结 1 962
鱼传尺愫
鱼传尺愫 2021-02-04 04:26

If not, how does android determine whether a user belongs to a certain group?

相关标签:
1条回答
  • 2021-02-04 05:10

    This thread discusses how that is done: http://groups.google.com/group/android-ndk/browse_thread/thread/affffdb27c1a5438e9

    It contains a broken link to a git repository though, you can find a list of name and IDs in https://android.googlesource.com/platform/system/core.git/+/master/include/private/android_filesystem_config.h.

    0 讨论(0)
提交回复
热议问题