Chris Ross wrote: > > The Live system calls "adduser" during bootup to create the user. To > > modify it's behaviour, take a look at /etc/adduser.conf - it has the > > functionality you need (ADD_EXTRA_GROUPS and EXTRA_GROUPS, I think). > > Hmm. I must be misunderstanding something.
Actually, I made a mistake. live-initramfs does not call 'adduser', it
uses debconf to configure the user. Sorry for misleading you.
To get the behaviour you want, try putting the following text in
config/chroot_local-includes/usr/share/initramfs-tools/scripts
/live-bottom/99usergroup.sh and make the file executable:
#!/bin/sh
. /scripts/live-functions
for GROUP in dialout cdrom floppy audio src video lp src users disk;
do
chroot /root adduser $USERNAME $GROUP
done
> So, something about the adduser that the system is invoking at boot
> doesn't work quite the way I'm expecting it to.
:]
/Lamby
ps. By the way, I read the list - please do not send me mail directly.
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
_______________________________________________ Debian-live-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

