/usr/share/ltsp/plugins/ltsp-build-client/Fedora/095-rootpass is in ltsp-server 5.4.2-6+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #case "$MODE" in
# commandline)
# add_option "prompt-rootpass" "`eval_gettext "prompt to set the root password, defaults to disabled"`" "advanced" "false"
# ;;
# configure)
# if [ -n "$option_prompt_rootpass_value" ]; then
# ROOTPASS=prompt
# fi
# ;;
# after-install)
# # Root password is empty by default, lock it
# /usr/sbin/chroot $ROOT passwd -l root
# ;;
# finalization)
# if [ "$ROOTPASS" = "prompt" ]; then
# # prompt for root password
# /usr/sbin/chroot $ROOT passwd root
# fi
# ;;
#esac
#
# FIXME
# Nullify this entire file. For some reason "/usr/sbin/chroot $ROOT passwd -l root"
# fails with "Only root can do that." because we do not have a valid or fake /selinux
# This is not important to set because kickstart already disallowed root logins.
|