livecd-rootfs/live-build/ubuntu-desktop-next/hooks/02-add_user_to_groups.chroot
Sebastien Bacher 2b7fd1f652 Import patches-unapplied version 2.320 to ubuntu/wily-proposed
Imported using git-ubuntu import.

Changelog parent: a1743f955866f4e9ec36a7de44356bda63c353f4

New changelog entries:
  * Copied some touch tweaks (n-m config and user groups) to desktop-next
  [ Michael Vogt ]
  * snappy/desktop-next:
    - add snappypkg user and remove clickpkg user
2015-06-30 16:28:39 +00:00

9 lines
167 B
Bash
Executable File

#!/bin/sh -x
USER=ubuntu
DEFGROUPS="sudo,adm,dialout,cdrom,plugdev,audio,dip,video"
echo "I: add $USER to ($DEFGROUPS) group(s)"
usermod -a -G ${DEFGROUPS} ${USER}