google-chrome-as-root.txt

(0 KB) Pobierz
Re: Howto run google-chrome as root
Quote:
Originally Posted by Browncoyote View Post
What would be the preferred (safe) way to operate in an environment where root is the only user?
Quite simple:
Open the google-chrome binary, located at
Code:

/opt/google/chrome/chrome

in a hex editor (make a backup-copy before).

Now find the string "geteuid" and replace it with "getppid".
Done !

Make a script for this, and trigger script execution every time google-chrome is updated 

Zgłoś jeśli naruszono regulamin