/lib/recovery-mode/options/root is in friendly-recovery 0.2.25.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
. /lib/recovery-mode/l10n.sh
if [ "$1" = "test" ]; then
if [ "$2" = "mode" ]; then
exit 2
fi
echo $(eval_gettext "Drop to root shell prompt")
exit 0
fi
/sbin/sulogin
|