Sunday, November 6, 2011

Run google chrome as root in ubuntu

Today we will run google chrome with root account. Actually it is strictly advised that you should not play with but anyway who cares...
To start the google chrome with root account follow the following steps.

1) Go to /opt/google/chrome
2) Open google-chrome file. Find exec -a "$0" "$HERE/chrome" "$@"
3) Replace it to exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME
    Now open google chrome from Application>>Internet>>Google Chrome   
    bang Its done!! :)

Enjoy & be open.
long live linux.