From 95977f18c1a5dc01003199daa1c6efce2a41c8f3 Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 17 Jan 2020 18:15:12 +0100 Subject: [PATCH] add ansible to wheel group, necessary for using "su" --- scripts/main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/main.sh b/scripts/main.sh index 717a0c2..17290ee 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -137,9 +137,9 @@ install_ansible() { chown -R ansible: "$ANSIBLE_HOME" \ || die "Could not change ownership of ansible home" - einfo "Adding ansible to sshusers" - usermod -a -G sshusers ansible \ - || die "Could not add ansible to sshusers group" + einfo "Adding ansible to some auxiliary groups" + usermod -a -G wheel,sshusers ansible \ + || die "Could not add ansible to auxiliary groups" } main_install_gentoo_in_chroot() {