From 1bc5a0684651892b6707952099d502b3e6a7fc58 Mon Sep 17 00:00:00 2001 From: velvettear Date: Mon, 22 Aug 2022 11:24:56 +0200 Subject: [PATCH] fixed 'sudoers' modification --- alpine_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine_install.sh b/alpine_install.sh index 49de22e..5212854 100755 --- a/alpine_install.sh +++ b/alpine_install.sh @@ -83,7 +83,7 @@ printf "|> adding user '$user' to group 'cdrw'...\n" && addgroup "$user" cdrw printf "|> adding user '$user' to group 'usb'...\n" && addgroup "$user" usb printf "|> modifying sudoers...\n" -sed -i "s/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/" "/etc/sudoers" +sed -i "s/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/" "/etc/sudoers" printf "|> disabling root login via ssh...\n" sed -i "s/DROPBEAR_OPTS.*/DROPBEAR_OPTS=\"-w\"/" "/etc/conf.d/dropbear"