moko running everything as root

Francesco Albanese frances.albanese at gmail.com
Sun Jun 15 16:06:45 CEST 2008


As I already pointed out, re-establishing the correct privilege
isolation is a fundamental step to enforce security, even though the
phone will have only 1 user. In the future we should have a few root
process, dedicated accounts for daemons and a X session belonging to
the user. IMHO it could be a good idea to suppress root account and to
take full advantage of PAM+SUDO facility.

F.A.


On Fri, Jun 13, 2008 at 11:29 PM, Robert Taylor
<subscribers at tinsputnik.com> wrote:
> Peter Nijs wrote:
>>> no problems. what i don't want is people to get their hopes up. this was in
>>> the context of people asking if they can play vga video and me going "good
>>> luck!". there is reality - and you can sit and hack away spend lots of time
>>> and get 1 case to work, and work well. as i said - it will depend on codec,
>>> bitrate, quality etc. mpeg4 decode in hw is great - but remember it is also
>>> limiting to just mp4 - all your mpeg1, ogg, etc. videos will not work. also
>>> as long as mplayer is accessing glamo hardware it must run as root.
>>> admittedly we run everything as root - but come the day when we don't...
>>> this is trouble.
>>>
>>>
> Hi.
>
> Can someone clear up for me why everything runs as root?  When I heard
> the iPhone ran everything as root I kinda sneered at it but now I can't
> be so smug.
>
> What are the engineering reasons for this?
>
> Rob
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>




More information about the community mailing list