[Dev] Multi User activation idea.

Łukasz Stelmach l.stelmach at samsung.com
Wed Oct 2 11:26:40 GMT 2013

It was <2013-10-02 śro 11:44>, when Counihan, Tom wrote:
>> -----Original Message-----
>> From: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On
>> Behalf Of Lukasz Stelmach
>> Sent: Wednesday, October 02, 2013 10:25 AM
>> To: Dominig ar Foll (Intel OTC)
>> Cc: dev at lists.tizen.org
>> Subject: Re: [Dev] Multi User activation idea.
>> It was <2013-10-01 wto 19:41>, when Dominig ar Foll (Intel OTC) wrote:
>>> Hello,
>>> I am looking at how to enable Multi User support in Tizen 3 in order
>>> to support new use cases such as :
>>>  - Dual SIM for Phone
>>>  - Multi Drivers/Passenger for IVI
>>>  - Multi familly members profile for TV
>>>  - ...
>>> The interesting technical challenge comes from the fact that most of
>>> the use cases are still very open what will require to support rather
>>> more than less features while we have a serious legacy of code
>>> (Platform and more important Apps) that we like to protect without
>>> reducing our security and performance objectives.
>>> Not to add, it must be simple to implement quickly with a small team
>>> :-)
>>> 1) Linux current model
>>> =============
>>> While Linux core is very capable to support multi user usages in
>>> traditional desktop environment, the requirement for connected devices
>>> such as  phones or IVI are not that well covered by the basic Linux
>>> services.
>>> For example, there is no base services to propagate a Language or Time
>>> Zone to several users
>> Set LANG and TZ environment variables.
> Do these not have a system wide impact, resulting is all users picking
> up the same values?
> If so, consider from an IVI perspective we have a 'user' which is the
> system administrator - i.e. the guy in the garage that pulls logs, and
> diagnoses problems.
> If the owner/driver sets the language to something that administrator
> cannot understand could this not be perceived as an issue? If the OEM
> wishes to ensure that all logs/diagnosis traces are captured in one
> language, could the use of these env variables override such a policy?
> What happens if we have multiple concurrent users - drivers/passengers
> that what different language experiences?

Each process has its own environment it inherits from it's parrent. For
example I can rune the date(1) programme with different environment each
time and get different results without touching any files in /etc.

--8<---------------cut here---------------start------------->8---
$ date
śro, 2 paź 2013, 13:21:54 CEST
$ LC_ALL=zh_CN.utf8 date 
2013年 10月 02日 星期三 13:21:56 CEST
$ TZ=Asia/Dubai LC_ALL=zh_CN.utf8 date 
2013年 10月 02日 星期三 15:23:51 GST
$ TZ=Asia/Dubai date 
śro, 2 paź 2013, 15:23:55 GST
--8<---------------cut here---------------end--------------->8---

Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131002/9e8390ec/attachment.sig>

More information about the Dev mailing list