This file is indexed.

/usr/share/ltsp/plugins/ltsp-build-client/Debian/095-rootpass is in ltsp-server 5.5.7-1.

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
26
27
28
29
30
31
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
        # but make sure to not do that if the user requested prompting
        if [ "$ROOTPASS" != "prompt" ]; then
            $CHROOTEXEC $ROOT passwd -l root
        fi
        ;;
    finalization)
        if [ "$ROOTPASS" = "prompt" ]; then
            # prompt for root password, give at least 3 tries.
            count=0
            while [ "$count" -lt "3" ]; do
                count=$(($count+1))
                $CHROOTEXEC $ROOT passwd root && break || true
                if [ "$count" = "3" ]; then
                    echo "ERROR: failed to set password"
                    exit 1
                fi
            done
        fi
        ;;
esac