Hi, All
I have a question about tizen IVI boot user name, in current IVI image, when 
system boots up, the default login user should be "app", but when I try to get 
the user name by the following code:
         Struct utmpx *utmp;
setutxent();
         utmp = getutxent();
         printf("user name: %s", utmp->ut_user);
         endutxent();
I get the user name "reboot" instead of "app", can anybody help me to clarify 
what's wrong with the code above or how to get the user name "app"? Who is the 
"reboot" user?

Thanks in advance!


Regards,
Zhang Zhengguang
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to