midori

Midori is a lightweight web browser.
Tasklist

FS#196 - Superuser mode warning

Attached to Project: midori
Opened by Michele Renda (micrenda) - Tuesday, 25 November 2008, 10:20 GMT+1
Last edited by Christian Dywan (kalikiana) - Sunday, 17 May 2009, 03:01 GMT+1
Task Type Feature Request
Category Core
Status Closed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version 0.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Midori is becoming pretty popular between Openmoko Freerunner users, due to his lightweight and its flexibility!

All the Openmoko distro usually run their application in Root mode (Yes I know it is not a "best practice" but a phone is not a server :), and using Midori as root user show an alert saying: "Warning: you are using a superuser account!".

The problem is that Openmoko has a little screen and this line take some very precious space. Is it possible to add an option to hide this warning? (In setting tab?)

Thank you
Michele Renda
This task depends upon

Closed by  Christian Dywan (kalikiana)
Sunday, 17 May 2009, 03:01 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  The warning was removed, see  bug 254 .
Comment by Brian Vuyk (BrianV) - Wednesday, 26 November 2008, 06:42 GMT+1
This feature is pretty subtle on a full-size system, but I can see where that's annoying on a little phone screen.

Perhaps a good solution would be to quiet that warning based on a command line switch?
Comment by Michele Renda (micrenda) - Thursday, 27 November 2008, 10:47 GMT+1
Yes... it will be perfect (a switch or a conf file).

I understand that midori was not projected to run on a phone (but it run very well :)

Thank you
Michele Renda
Comment by Christian Dywan (kalikiana) - Sunday, 30 November 2008, 00:03 GMT+1
Hey Michele,

obviously running everything as the superuser is not a good idea, and I seriously consider a web browser the very last application you want to run under those circumstances. Web pages can pretty much contain random code in all forms. If that is common practise on Openmoko, something is very wrong there.
Please understand that I am not going to support that kind of use case.

If you insist, you can probably modify the warning from a gtkrc file or write a small extension for that (available in git and the coming version).
Comment by Rothel Burger (rothelberger) - Sunday, 15 March 2009, 19:15 GMT+1
Seriously dude, all you need to do is either remove the banner, or give us an easy way to remove it. But obviously you're a linux tard, so to hell with what the actual end users think. You know best after all. Back to Windows for me. Thanks for proving all those linux sterotypes true.
Comment by Christian Dywan (kalikiana) - Sunday, 15 March 2009, 19:24 GMT+1
I was discussing this on IRC in #midori as well but didn't hear back from that person. Apologies if my response came out wrong, I'm trying to do me best in supporting any platform there is but it's just not that easy. If you personally don't take security seriously that is your choice.

If somebody could provide a patch with an #ifdef that is only found on openmoko or a test for a file or library that is openmoko only, the warning could be disabled for openmoko.
(application/octet-stream)    . (0 KiB)
Comment by Michele Renda (micrenda) - Sunday, 15 March 2009, 22:46 GMT+1
Hello Christian,
Yes, your response was bit hard, but from time to time an hard answer is good. Since them if started to study it, and now it is running as normal user (using Debian).
So for me I solved the problem. I don't know who use 2008.X (Is the ufficial disto for Openmoko phones) has my problem, but is possible they fixed it in their package.

Best regards
Comment by Pander (pander) - Saturday, 16 May 2009, 17:38 GMT+1
Offer in the Preferences/General tab a check box called "Show superuser warning" (default true) that when set to false will not display "Warning" you are using a superuser account!" Implementing this will allow OpenMoko and other handheld users to have more space on the screen of their device for viewing web pages. Perhaps even allow repackagers like SHR to set the default value to false. See also issue 254, which is sort of a duplicate of this issue.

Loading...