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

1

21

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

Mixedup answered 28/2, 2011 at 16:4 Comment(1)
Related question on android.SE: How to know app name by UIDBraze
B
8

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.

Bradwell answered 28/2, 2011 at 16:8 Comment(1)
Working link of the relevant file in the most recent version of Android at the time of posting this comment: android.googlesource.com/platform/system/core/+/refs/heads/…Marcheshvan

© 2022 - 2024 — McMap. All rights reserved.