diff --git a/features.in/deflogin/rootfs/image-scripts.d/50-users b/features.in/deflogin/rootfs/image-scripts.d/50-users index fe89be1d..e54f8f2b 100755 --- a/features.in/deflogin/rootfs/image-scripts.d/50-users +++ b/features.in/deflogin/rootfs/image-scripts.d/50-users @@ -18,6 +18,7 @@ set_password() { echo "$1:$2" | chpasswd; } set_admin() { usermod -a --groups "wheel" "$1"; } +# NB: one must care to purge this from LiveCD if it's installed permanently set_sudo() { [ ! -w "/etc/sudoers" ] || echo "$1 ALL=(ALL) ALL" >> "/etc/sudoers"