diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2016-04-29 09:24:01 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2016-04-29 09:24:01 +0200 |
commit | 7e21c2f151b4363ae1704306125b495ab528c2cd (patch) | |
tree | fa72e2de19af0ded786cdedca255b673dd9ba878 /dracut | |
parent | 9d66fae1c047857cad2cbf45dcf41f07fcc44ef0 (diff) | |
download | hrmpf-7e21c2f151b4363ae1704306125b495ab528c2cd.tar.gz hrmpf-7e21c2f151b4363ae1704306125b495ab528c2cd.tar.xz hrmpf-7e21c2f151b4363ae1704306125b495ab528c2cd.zip |
dracut/adduser.sh: remove double whitespace from sudoers.
This lets the installer remove the anon rule from etc/sudoers.
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/adduser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |