After rooting Android Jelly Bean device you will gain access to a hidden OS functionality: user profiles. It's hidden because it's unfinished. Some apps may not work, like Google Chrome for instance. It's always crashing, while running by a secondary user. You cannot hide apps for a guest account etc. Visually you cannot determine what user is currently active, notifications and recent apps do not clear while switching between users. Jelly Bean’s user profiles are far away from perfect, but still they are useful.
To manage user accounts you will need
First of all, switch to the root account using the
You can check your user and group typing:
Now you can create a new user:
pm create-user USER_NAME
Apps and some system settings are in /data/user/USER_ID. The new profile is limited compared to the original. Limitations can be seen in the settings menu.
You can switch between users via the command line:
am switch-user USER_ID
As you can see, you have to type the user id. You can also switch using graphic interface. Just press and hold the Power button.
To get the list of all users on a current device, type:
To delete a user pass the user id to the
pm remove-user command.
pm remove-user USER_ID