You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
livecd-rootfs/live-build/ubuntu-desktop-next/hooks/02-add_user_to_groups.chroot

9 lines
132 B

#!/bin/sh -x
USER=ubuntu
DEFGROUPS="docker,sudo"
echo "I: add $USER to ($DEFGROUPS) group(s)"
usermod -a -G ${DEFGROUPS} ${USER}