Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Chrome as Root

  1. #11
    Just burned their ISO
    Join Date
    Mar 2012
    Posts
    7

    Default Re: Chrome as Root

    I personally think another, much safer option is to make use of flag "--user-data-dir"
    Code:
    chromium-browser --user-data-dir=/foo
    I created a chromium-profile directory in /root/ to hold the different profiles. You can also append that to any shortcuts with the menu editor in gnome.
    I created profiles for pentesting, developing, and normal use. I don't trust running anything associated to Google with root privs.

    Here are a few links regarding that:
    http://www.chromium.org/user-experience/user-data-directory
    http://reality-tech.over-blog.com/article-run-google-chrome-as-root-on-linux-85815868.html
    http://peter.sh/experiments/chromium-command-line-switches/#user-data-dir

  2. #12
    Just burned his ISO
    Join Date
    Jun 2012
    Posts
    12

    Default Re: Chrome as Root

    gedit /usr/bin/google-chrome

    go to the last line and add --user-data-dir to the end

    exec -a "$0" "$HERE/chrome" "$@" --user-data-dir

    r083rt

  3. #13
    Just burned his ISO
    Join Date
    Jul 2012
    Posts
    2

    Default Re: Chrome as Root

    I have a browser installed chromium but there is no file "/usr/bin/google-chrome"
    file exists "chromium browser" but there does not exist the line "exec-a" $ 0 "" $ HERE / chrome "

Page 2 of 2 FirstFirst 12

Similar Threads

  1. root can not be log in.
    By secowu in forum Beginners Forum
    Replies: 2
    Last Post: 04-05-2010, 11:18 AM
  2. Google Chrome crashes on NSS_VersionCheck
    By redi1 in forum Beginners Forum
    Replies: 5
    Last Post: 03-08-2010, 12:27 PM
  3. Google Chrome closes after 5 seconds
    By altjx in forum Beginners Forum
    Replies: 3
    Last Post: 03-01-2010, 12:13 AM
  4. Google Chrome and nss problem
    By jhawk in forum Beginners Forum
    Replies: 1
    Last Post: 02-13-2010, 10:03 AM
  5. Google Chrome on BT4 pre final
    By orange in forum OLD BackTrack 4 (pre) Final
    Replies: 6
    Last Post: 07-02-2009, 12:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •