![]() ![]() ![]() I'm not quire sure with the exact process myself, you probably want to ask to rooting developers. How is the rooting process working ? i mean what is the "one click root" apps doing to my phone? Alternative approach is the one described here: though that will require applications to cooperate by firing an Intent when they want to switch user.Īndroid security framework is more or less like this: each installed application runs on its own User ID (selected at installation time), and application permissions is implemented as user groups.Ĭan i change the root password after rooting my android device by simply typing "passwd"?Īndroid does not use /etc/passwd so it also does not have passwd program. If you want to intercept su requests so you can ask for password or enforce other rules, you will need to replace /sbin/su with your own version of su. Android does not use the traditional /etc/passwd, however it still uses Linux User ID and Group ID for managing permissions. The su program (which actually stands for "Switch User", not "Super User") is just a program to start another program with a different user ID than the starting program (by default to uid 0, which is to user root). Root in Linux (or any Unix-like system) is just the user with User ID 0.
0 Comments
Leave a Reply. |