You are not logged in.

#1 2012-05-12 07:19:18

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

[SOLVED] How to run google chrome as root

1) nano /usr/bin/chromium
2) change:
exec /usr/lib/chromium/chromium "$@"

to

exec /usr/lib/chromium/chromium "$@" --user-data-dir

Offline

#2 2012-05-12 07:32:54

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] How to run google chrome as root

Just out of genuine interest; why would you want to do this?


Burninate!

Offline

#3 2012-05-12 07:55:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] How to run google chrome as root

I think what Gcool is trying to say is...

"ARE YOU OUT OF YOUR FSCKING MIND???!!!!"

smile

General rule - don't run anything as root unless it's absolutely necessary.
More specific rule - don't run your browser as root ever.

Offline

#4 2012-05-12 08:23:46

kcholakov
Member
From: Bulgaria
Registered: 2010-06-26
Posts: 40

Re: [SOLVED] How to run google chrome as root

smile yes, I know I should not do it, but sometimes for some reason, someone might need to do it. And here is the way.

Cheers!

Offline

#5 2012-10-04 23:54:45

bentenrai
Member
Registered: 2012-06-21
Posts: 11

Re: [SOLVED] How to run google chrome as root

kcholakov wrote:

1) nano /usr/bin/chromium
2) change:
exec /usr/lib/chromium/chromium "$@"

to

exec /usr/lib/chromium/chromium "$@" --user-data-dir


you sir are a god among men

Offline

#6 2012-10-05 00:00:12

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] How to run google chrome as root

And after the bump of the five-month old thread, I'll ask again: why would you want to do this ?

tomk wrote:

General rule - don't run anything as root unless it's absolutely necessary.
More specific rule - don't run your browser as root ever.

And for some reason, I really think he knows what he's talking about...

Last edited by 2ManyDogs (2012-10-05 00:01:03)


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#7 2012-10-05 00:09:55

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] How to run google chrome as root

I normally wait 6 months before considering a thread necro but this one is beyond done. Closing.
https://wiki.archlinux.org/index.php/Forum_Etiquette


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB