LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


View Poll Results: Which is better, Chromium or Firefox?
Chromium 11 16.42%
Firefox 56 83.58%
Voters: 67. You may not vote on this poll

Reply
  Search this Thread
Old 03-23-2015, 05:06 PM   #76
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308

Quote:
Originally Posted by metaschima View Post
I tried to install Chrome a few weeks ago and it said it needed root permissions to run the sandbox, I refused and deleted it. That's all I know.
Yikes. Now that is one interesting piece of information!
 
Old 03-23-2015, 05:35 PM   #77
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Reading up a bit on the sandbox stuff. Seems you can do the same with firefox using firejail.

I did not find any information on whether or not it requires root privileges yet, though...
 
Old 03-23-2015, 05:52 PM   #78
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by joe_2000 View Post
Reading up a bit on the sandbox stuff. Seems you can do the same with firefox using firejail.

I did not find any information on whether or not it requires root privileges yet, though...
It most certainly does
Quote:
Firejail is a SUID security sandbox program
SUID means set user id as root.

Technically, if the sandbox is well designed, then it should contain any exploits and not allow privilege escalation. Even so, I don't trust Google and would much rather run firejail if I wanted to.
 
1 members found this post helpful.
Old 03-23-2015, 05:57 PM   #79
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by metaschima View Post
SUID means set user id as root.
In most cases this is probably true. However if I understand correctly it actually means set user id to the executable's owner. Without having looked at it in-depth I am thinking you might be able to create a dedicated user for that purpose and tweak the sandbox to run as that user. Does that make any sense. I am probably missing something...

Quote:
Originally Posted by metaschima View Post
Even so, I don't trust Google and would much rather run firejail if I wanted to.
That was my gut feel as well
 
Old 03-23-2015, 06:57 PM   #80
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You're right you could set it so that it runs with the permissions of another user, but usually that user is root. You could, of course, create another user with less than root powers, but enough to run the program and SUID to that.
 
1 members found this post helpful.
Old 03-23-2015, 07:35 PM   #81
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
I am not hip on Google Chrome.
But I am able to run Vivaldi with sandbox disabled.

Maybe the same can be done on other browsers with a sandbox?
 
Old 05-08-2015, 07:50 AM   #82
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
The sandbox needs to be setuid to root in order to setup the sandbox environment correctly. If this seems weird, think of a chroot. There you also need to be root to isolate everything. The way the sandbox works is somewhat similar. It allows Chromium to contain the processes.

Anyway, you have little to fear. If you run a Chromium based browser with a Chromium backend of 42 or above you no longer need to setuid the binary, as long as you are running a kernel or 3.17 or above. The sandbox now uses newer kernel features to achieve the sandboxing in a different (but equally secure) way.

Alternatively, if your Chromium based browser is stuck on a version lower than 42, it is possible to compile your own Chromium sandbox and use the variable CHROME_DEVEL_SANDBOX to point to it, if you do not trust the precompiled one that is shipped with Chrome, Vivaldi, etc.

@rokytnji: Disabling the sandbox is a pretty stupid idea IMHO. You are just making yourself less secure for no good reason. Use one of the two work arounds above if you do not trust a precompiled setuid binary from a reputable company.
 
1 members found this post helpful.
Old 05-08-2015, 11:27 AM   #83
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
@rokytnji: Disabling the sandbox is a pretty stupid idea IMHO. You are just making yourself less secure for no good reason. Use one of the two work arounds above if you do not trust a precompiled setuid binary from a reputable company.
Ok. Just working with what a I know raurio and it was the only way to launch Vivaldi on my test box. I have moved on since that post but thanks for pointing that out.
 
Old 05-08-2015, 12:00 PM   #84
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Google is not a reputable company, so yeah I don't trust it. What can you expect from a company whose motto is "Don't be evil."
 
Old 05-13-2015, 10:59 AM   #85
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by metaschima View Post
Google is not a reputable company, so yeah I don't trust it. What can you expect from a company whose motto is "Don't be evil."
Indeed. "Don't be evil" is not to say "Be good."
 
Old 05-14-2015, 02:52 PM   #86
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Geremia View Post
Indeed. "Don't be evil" is not to say "Be good."
Anybody who has to have that as a motto is a little untrustworthy, don't you think?
Should I take "Don't beat up old people and steal their money" as a motto?
 
Old 05-14-2015, 11:28 PM   #87
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by 273 View Post
Anybody who has to have that as a motto is a little untrustworthy, don't you think?
Should I take "Don't beat up old people and steal their money" as a motto?
haha
 
Old 05-25-2015, 05:58 AM   #88
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Quote:
A community is like a ship; everyone ought to be prepared to take the helm.
~Henrik Ibsen
Devils are made.
FF-Add-ons can come from anywhere, like Firefox can go anywhere... O_o
GPL me Plz!
 
Old 11-06-2015, 03:31 AM   #89
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
It looks like Firefox is losing users rapidly. It becomes worse and worse, adds garbage functionality, becomes slower and slower and probably less stable. And still the browser uses only one CPU core to handle everything while Chrome is more lightweight and uses all cores available. People complain a lot that Firefox breaks options with almost every update because thay always add, change and remove something and updates are frequent. And I've been Firefox dude for a lot of time now, I started to use it when Firefox 2 was around I believe. Last years it's been constant war of me against Firefox to make it look and work as older versions. And as time goes by this was becomes more and more difficult.

I wonder why I didn't think about it earlier, but several days ago I decided to remove Firefox from my system and completely switch to Chrome. And it's great! I won't explain all good experience I have with Chrome web surfing (it's unnecessary) but what I have to say is that this switch should've been done since Firefox 4 came out.

Look at the URL above, click down the months and see how Firefox loses people with every month passes (the older the month, the more users it had). The browser is going off stage.

Last edited by Mr. Alex; 11-06-2015 at 03:56 AM.
 
Old 11-06-2015, 07:03 AM   #90
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
I'm surprised that google is still doing chrome for linux. In every other project they have abandoned linux completely. Still no linux app for gdrive, no linux app for gphotos etc. I guess ChromeOS is what is keeping it alive since it is linux based.
 
1 members found this post helpful.
  


Reply

Tags
chromium, firefox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shockwave not working in Chromium or Firefox in CentOS 6.5 SparceMatrix Linux - Software 3 05-28-2014 01:14 PM
How can Chromium-browser import Firefox bookmarks? CollieJim Linux - Software 2 06-17-2013 12:17 PM
Flash and shockwaves on firefox and chromium-browser rasidrasid Linux - Software 4 04-23-2012 06:58 AM
Why is Firefox 4 trying to mimic Chromium? Kenny_Strawn Ubuntu 1 11-24-2010 09:26 AM
[SOLVED] Import Firefox bookmarks to Chromium MTK358 Linux - Software 3 05-12-2010 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration