docker_bind/setup.sh

10 lines
152 B
Bash
Raw Normal View History

2023-02-26 00:35:27 +00:00
#! /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