#!/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