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

淺唱寂寞╮ 提交于 2020-01-12 01:45:07

问题


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


回答1:


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

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.



来源:https://stackoverflow.com/questions/5144375/does-the-android-operating-system-have-files-like-etc-passwd-etc-shadow-and

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!