* User id/group not quite right?
@ 2013-02-06 16:40 Gary Thomas
0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2013-02-06 16:40 UTC (permalink / raw)
To: Yocto Project
Just checking on the X11 user 'xuser' which should be created
with a bunch of groups via this recipe snippet:
USERADD_PARAM_${PN} = "--create-home \
--groups video,tty,audio \
--user-group xuser"
However, when I log in as 'xuser', I don't see them?
login: xuser
$ id
uid=1001(xuser) gid=1001(xuser) groups=1001(xuser)
$ grep xuser /etc/group
tty:x:5:demo,xuser
audio:x:29:demo,xuser,pulse
video:x:44:demo,xuser
xuser:x:1001:
They do seem to be set though:
$ python
Python 2.7.3 (default, Jan 15 2013, 10:27:28)
[GCC 4.7.2] on linux2
T ype "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getgroups()
[5, 29, 44, 1001]
Looks like the busybox 'id' applet is broken?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-06 16:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 16:40 User id/group not quite right? Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.