Update after.sh
This commit is contained in:
parent
0abf7981fc
commit
81cf95a239
1 changed files with 2 additions and 1 deletions
3
after.sh
3
after.sh
|
|
@ -189,7 +189,8 @@ cd "$OLDPWD" && rm -rf grub2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Restore password requirement after successful installation
|
# Restore password requirement after successful installation
|
||||||
rm -f "$SUDOERS_FILE"
|
printf '%s ALL=(ALL) ALL\n' "$USERNAME" > "$SUDOERS_FILE"
|
||||||
|
chmod 440 "$SUDOERS_FILE"
|
||||||
visudo -c
|
visudo -c
|
||||||
|
|
||||||
# Remove the script from root folder after successfull installation
|
# Remove the script from root folder after successfull installation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue