[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Default user now UID 1000 instead of 999?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

 tomas@alfons:~$ lh_build --version
 lh_build, version 1.0.0

(as of fairly recent Lenny). Changing the "default user name" involves
setting

config/binary:
  # $LH_USERNAME: set username
  LH_USERNAME="gast"

in config/binary. This works, but the user gets now an UID of 1000
(instead of 999). Thus the hack in

config/chroot_local-hooks/10-chown-home:
  #!/bin/sh
  chown -R 999:999 /home/gast

won't work any more. Setting it by name is't an option since this user
is not known yet.

Now it wouldn't be a problem exchanging 999 for 1000 here (it's my
current workaround, in fact), but -- is 1000 stable now? Or shall I
shift the chown to the boot phase of the live system?

Thanks for any insight
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI35saBcgs9XrR2kYRAv1pAJ9W3LHaIATrl6h3PHLAkXXeBDuNBQCbBLtq
OvJjyiEpq6LutGr14ptjbxk=
=41TL
-----END PGP SIGNATURE-----


Reply to: