From 7e21c2f151b4363ae1704306125b495ab528c2cd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 29 Apr 2016 09:24:01 +0200 Subject: dracut/adduser.sh: remove double whitespace from sudoers. This lets the installer remove the anon rule from etc/sudoers. --- dracut/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/adduser.sh b/dracut/adduser.sh index f006424..dbcbd35 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -32,7 +32,7 @@ chroot ${NEWROOT} sh -c "echo "$USERNAME:voidlinux" | chpasswd -c SHA512" # Enable sudo permission by default. if [ -f ${NEWROOT}/etc/sudoers ]; then - echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers + echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers fi if [ -d ${NEWROOT}/etc/polkit-1 ]; then -- cgit 1.4.1