Re: Howto run google-chrome as root
Originally Posted by
id2578
Just want to add a
permanent solution to the problem:
1. Open google-chrome located in /usr/bin with 'gedit', 'kate' or your favorite text editor.
Code:
gedit /usr/bin google-chrome
2. Add
"--user-data-dir" (without the quotes) at the very end of the file. Mine looks like this:
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
3. Save, close and voilą, you're done. Enjoy your favorite browser.
You should never run a web browser as root, certainly not permanently.
If there is a need to run it as root then do it for the given instance not a permanent fixture.
It is ill advised to browse the internet as root.
Cheers
Backtrack - Giving machine guns to monkeys since 2006
Kali-Linux - Adding a grenade launcher to the machine guns since 2013
Bookmarks