mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 02:41:12 +00:00
make sure the default group is still created when adding the default user to adm and sudo groups
This commit is contained in:
parent
f84a4d5230
commit
93f112e8e8
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.361) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
|
||||
make sure the default group is still created when adding the default user
|
||||
to adm and sudo groups.
|
||||
|
||||
-- Oliver Grawert <ogra@ubuntu.com> Tue, 08 Dec 2015 16:36:34 +0100
|
||||
|
||||
livecd-rootfs (2.360) xenial; urgency=medium
|
||||
|
||||
[ Michael Vogt ]
|
||||
|
@ -6,7 +6,11 @@ USER=ubuntu
|
||||
UGID=1000
|
||||
|
||||
echo "I: creating default user $USER"
|
||||
adduser --ingroup adm --ingroup sudo --gecos $USER --disabled-login $USER --uid $UGID
|
||||
adduser --gecos $USER --disabled-login $USER --uid $UGID
|
||||
|
||||
for extragroup in adm sudo; do
|
||||
adduser $USER $extragroup
|
||||
done
|
||||
|
||||
chown -R $UGID:$UGID /home/$USER
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user