mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 02:41:12 +00:00
* ubuntu-core: Ensure user can use sudo.
This commit is contained in:
parent
de8c39ff98
commit
60a334d0cf
8
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
Executable file
8
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
USER=ubuntu
|
||||
|
||||
DEFGROUPS="sudo"
|
||||
|
||||
echo "I: add $USER to ($DEFGROUPS) group(s)"
|
||||
usermod -a -G ${DEFGROUPS} ${USER}
|
Loading…
x
Reference in New Issue
Block a user