3/8/11

google-chrome como root.-- chromium as root

Here is how to run as root.

Go to /usr/bin

Edit google-chrome I did with Kate

At the end of exec -a "$0" "$HERE/chrome" "$@"
Add --user-data-dir
So it looks like this
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
-------------------------------------------------
cd /usr/lib/chromium-browser
hexedit chromium-browser

then ; press the ctrl+s and search geteuid
now, we will change getppid .e and u, change to p .Then we save (ctrl+x).

Now, it's ok.You can run as root.

No hay comentarios: