X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FDEBIAN%2F10-rootpw;h=539f2eb6c3badfe173022b0f7fc0e05959bdfebd;hp=329e2f6220caa87a16eaf66a13f4937e60d43e5e;hb=591c84435e22df12f2b5121c08578bff7c6bb047;hpb=490334746631a6c956eee47947f3ab8f8a451666 diff --git a/fai/config/scripts/DEBIAN/10-rootpw b/fai/config/scripts/DEBIAN/10-rootpw index 329e2f6..539f2eb 100755 --- a/fai/config/scripts/DEBIAN/10-rootpw +++ b/fai/config/scripts/DEBIAN/10-rootpw @@ -7,11 +7,6 @@ if [ -n "$ROOTPW" ]; then $ROOTCMD chpasswd --encrypted <<< "root:${ROOTPW}" elif [ -n "$username" ]; then $ROOTCMD usermod -L root - # enable sudo for user - ainsl /etc/sudoers "$username ALL = ALL" - if [ ! -f $target/usr/bin/sudo ]; then - echo "WARNING. Package sudo is not installed" - fi fi exit $error