Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Login to Chrome shell as root user
- ----------------------------------
- By default, it is not possible to switch to root user from a normal user like chronos due to some security aspects of Chrome.
- So the following procedure can be followed to get root shell access:
- 1. By default, chronos has sudo powers. So switch to root using the password of chronos
- $ sudo su
- 2. Once landed in the root shell, the we can set the root password. But by default, the root file-system is mounted without write permission. So the root partition has be to be remounted with rw permission using the following command:
- # mount -o remount,rw /
- 3. Reset the root password using the following command:
- # passwd
- 4. Add the cronos to the wheel group, so that su - root (switching to root) is possible from the cronos user.
- # vim /etc/group
- append "cronos" or any other "username" to the 'wheel' group.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement