* tinylogin ends up with group/user id 1000
@ 2013-02-06 21:49 Kyle Farnsworth
0 siblings, 0 replies; only message in thread
From: Kyle Farnsworth @ 2013-02-06 21:49 UTC (permalink / raw)
To: openembedded-core
tinylogin installs the executable using the mode setting "-m 4755" which
sets the userID bit (-rwsr-xr-x). From what I read that seems like the
right thing to do. But when it gets added to the rootfs image it ends
up with a group and user id = 1000. Then when getty attempts to login I
get this message:
login: cannot set groups: Operations not permitted
I did enough debugging to find this occurs when it makes a syscall to
setgroups. If I change the install to use mode "-m 0755" the group/user
id ends up being 0 and it works.
Where is the logic that determines group/user ids and why would it use
1000? Can I override it?
Kyle
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-08 7:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 21:49 tinylogin ends up with group/user id 1000 Kyle Farnsworth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox