难道Android操作系统有一个像/ etc / passwd文件,在/ etc / shadow和/ etc / group文件? [英] Does the Android operating system have files like /etc/passwd, /etc/shadow, and /etc/group?
问题描述
如果没有,如何安卓确定用户是否属于某一群体?
If not, how does android determine whether a user belongs to a certain group?
推荐答案
这线程讨论如何做到这一点:<一href="http://groups.google.com/group/android-ndk/browse_thread/thread/adddb27c1a5438e9">http://groups.google.com/group/android-ndk/browse_thread/thread/adddb27c1a5438e9
This thread discusses how that is done: http://groups.google.com/group/android-ndk/browse_thread/thread/adddb27c1a5438e9
它包含一个破碎的链接一个Git仓库,虽然,你可以找到的名字<一个列表和ID href="https://android.googlesource.com/platform/system/core.git/+/master/include/private/android_filesystem_config.h">https://android.googlesource.com/platform/system/core.git/+/master/include/private/android_filesystem_config.h.
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.
这篇关于难道Android操作系统有一个像/ etc / passwd文件,在/ etc / shadow和/ etc / group文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!