aboutsummaryrefslogtreecommitdiff
path: root/examples/pbuilder-test/000_prepinstall
blob: 493bc596e0a4035bf252568ca5fb5f7deb777d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# prepare environment for further testing.

apt-get update
apt-get -y --force-yes install binfmtc sudo


# add users if required.
addgroup --gid 1555 user1
addgroup --gid 1556 test1
addgroup --gid 1557 test2
adduser --uid 1555 --gid 1555 user1 --disabled-login --gecos ''
adduser user1 test1
adduser user1 test2