Re: Default user now UID 1000 instead of 999?
Chris Lamb wrote:
> Indeed. For completeness sake, in the case of /etc/skel, is this really an
> issue? Whatever uid/gid combination the files in /etc/skel have, adduser
> appears to chown them to the target user.
in case of /etc/skel, live-helper should chown them to root for
cosmetical reasons anyway.
for any other includes...
> However, I can't help thinking that having random files in the binary image
> that are owned by random users by default is a bad idea:
...i *personally* would consider this worse than have to adjust certain
files manually with a hook where they shouldn't be owned by root.
> For example, I created a local "config/chroot_local-includes/etc/sudoers"
> file (owned by my local user, uid 1000), this file would--by default--exist
> on the binary image with the same permissions. Sounds dangerous.
for such limited special files, chroot_hacks should make sure they have
the right permissions.
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
Reply to: