docker_bind/setup.sh

10 lines
152 B
Bash
Executable File

#! /bin/bash
if [ "$EUID" -ne 0 ]; then
echo "Must run as root"
exit 1
fi
groupadd -f -g 105 bind
useradd -u 104 -g 105 -M --no-log-init bind