Onboard Boundary to Common Release Tooling Co-authored-by: mdrake <mdrake@hashicorp.com> Co-authored-by: jeanneryan <jeanneryan@hashicorp.com>
13 lines
153 B
Bash
13 lines
153 B
Bash
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
USER="boundary"
|
|
|
|
if ! id -u $USER > /dev/null 2>&1; then
|
|
useradd \
|
|
--system \
|
|
--user-group \
|
|
--shell /bin/false \
|
|
$USER
|
|
fi |