* live-build/ubuntu-core/hooks/01-setup_user.chroot:

- add default ubuntu user to "adm" and "sudo" groups
This commit is contained in:
Michael Vogt 2015-12-07 11:09:35 +01:00
parent 3b7c4b69f4
commit fb84e38cf2
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.359) xenial; urgency=medium
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 07 Dec 2015 11:03:35 +0100
livecd-rootfs (2.358) xenial; urgency=medium
* Fix typo in ubuntu-cpc preventing non-intel builds.

View File

@ -6,7 +6,7 @@ USER=ubuntu
UGID=1000
echo "I: creating default user $USER"
adduser --gecos $USER --disabled-login $USER --uid $UGID
adduser --ingroup adm --ingroup sudo --gecos $USER --disabled-login $USER --uid $UGID
chown -R $UGID:$UGID /home/$USER