File: run

package info (click to toggle)
opensysusers 0.7.3-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 476 kB
  • sloc: xml: 578; sh: 239; makefile: 194
file content (13 lines) | stat: -rwxr-xr-x 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -euo pipefail

if passwd --quiet --status opensysusers-test-run 2>&1 > /dev/null
then
	printf 'test user already exists'
	exit 1
fi

./sysusers --inline 'u opensysusers-test-run - - - -'

exec passwd --status opensysusers-test-run