Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 691ffe76 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: add warning, with sudo not installed and root user disabled, it would be a fun system


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 765ee339
No related merge requests found
......@@ -583,6 +583,9 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
echo "%admin ALL=(ALL) ALL" >>/etc/sudoers
else
dpkg_package_missing
if [ "x${rfs_disable_root}" = "xenable" ] ; then
echo "Log: (Chroot) WARNING: sudo not installed and no root user"
fi
fi
pass_crypt=\$(perl -e 'print crypt(\$ARGV[0], "rcn-ee-salt")' ${rfs_password})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment