From 7d26b1eae9ba9e3ea0a5c9f7c8e6f12118d2f019 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 6 Oct 2012 07:20:59 +0200 Subject: Add the arch user to some useful groups Only use groups that wont allow damaging the host system by accident. Signed-off-by: Pierre Schmitz --- configs/releng/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 3f246d4..2699468 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -191,7 +191,7 @@ make_customize_root_image() { -r 'usermod -s /bin/zsh root' \ run mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \ - -r 'useradd -m -p "" -g users -G "audio,disk,optical,wheel" -s /bin/zsh arch' \ + -r 'useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh arch' \ run mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \ -r 'systemctl -f enable pacman-init.service getty@.service dhcpcd.service || true' \ -- cgit v1.2.3-70-g09d2