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 <pierre@archlinux.de>
This commit is contained in:
Pierre Schmitz 2012-10-06 07:20:59 +02:00
parent d355c2b835
commit 7d26b1eae9

View File

@ -191,7 +191,7 @@ make_customize_root_image() {
-r 'usermod -s /bin/zsh root' \ -r 'usermod -s /bin/zsh root' \
run run
mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \ 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 run
mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \ mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
-r 'systemctl -f enable pacman-init.service getty@.service dhcpcd.service || true' \ -r 'systemctl -f enable pacman-init.service getty@.service dhcpcd.service || true' \