Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Which is better, Chromium or Firefox?
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.
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
Even so, I don't trust Google and would much rather run firejail if I wanted to.
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.
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.
@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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,671
Rep:
Quote:
Originally Posted by Geremia
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?
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.