lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 61c5ba0 4/7: For centos, use wheel group inst


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 61c5ba0 4/7: For centos, use wheel group instead of sudoers
Date: Mon, 25 May 2020 18:46:13 -0400 (EDT)

branch: master
commit 61c5ba063626f956ecf915f2c185cd8d5aed8e13
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    For centos, use wheel group instead of sudoers
---
 lmi_setup_05c.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lmi_setup_05c.sh b/lmi_setup_05c.sh
index c4d70c2..7856ac5 100755
--- a/lmi_setup_05c.sh
+++ b/lmi_setup_05c.sh
@@ -61,7 +61,7 @@ getent passwd "${NORMAL_USER}" || useradd \
   --password="\$1\$\$AYD8bMyx6ho3BnmO3jjb60" \
   "${NORMAL_USER}"
 
-usermod -aG sudo "${NORMAL_USER}" || echo "Oops."
+usermod -aG wheel "${NORMAL_USER}"
 
 chsh -s /bin/zsh root
 chsh -s /bin/zsh "${NORMAL_USER}"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]