File: pre_test_root_password

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (7 lines) | stat: -rwxr-xr-x 217 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
set -e

# sudo refuses removal if no root password is set, so set one
# unconditionally, as there are quite some packages depending on sudo
# (and since its harmless and fast)
yes "yes" 2>/dev/null | passwd