deflogin: argh, fix silly thinko
That \t has lurked in the source variant of the script, was fixed in features.in/live/live/image-scripts.d/30-users once and still has managed to creep into this fork! Ugh.
This commit is contained in:
parent
768df7e9e9
commit
a7e9cf88db
@ -18,7 +18,7 @@ set_admin() { usermod -a --groups "wheel" "$1"; }
|
||||
|
||||
set_sudo() {
|
||||
[ ! -w "/etc/sudoers" ] ||
|
||||
echo "$1\tALL=(ALL) ALL" >> "/etc/sudoers"
|
||||
echo "$1 ALL=(ALL) ALL" >> "/etc/sudoers"
|
||||
}
|
||||
|
||||
# chpasswd is inteded for batch use but that would be less comprehensible
|
||||
|
Loading…
Reference in New Issue
Block a user