iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fix
[automated-distro-installer]
/
fai
/
config
/
scripts
/
DEBIAN
/
10-rootpw
diff --git
a/fai/config/scripts/DEBIAN/10-rootpw
b/fai/config/scripts/DEBIAN/10-rootpw
index bb77d1a30f5fe0eb2df8dc43d5abbfc8b80dcdb3..7a7f6177a30e398311f8b1659f61114487947767 100755
(executable)
--- a/
fai/config/scripts/DEBIAN/10-rootpw
+++ b/
fai/config/scripts/DEBIAN/10-rootpw
@@
-7,8
+7,6
@@
if [ -n "$ROOTPW" ]; then
$ROOTCMD usermod -p "$ROOTPW" root
else
$ROOTCMD usermod -L root
$ROOTCMD usermod -p "$ROOTPW" root
else
$ROOTCMD usermod -L root
- # enable sudo for user
- ainsl /etc/sudoers "$username ALL = ALL"
fi
exit $error
fi
exit $error