You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
344 B

#!/bin/sh
# Origin: custom-scripts/scripts/pre_test_root_password from
# git://anonscm.debian.org/piuparts/piuparts.git
set -e
# sudo refuses removal if no root password is set, so set one
# do this unconditionally, as there are quite some packages depending on sudo
# (and since its harmless and fast)
yes "yes" 2>/dev/null | passwd