10 lines
152 B
Bash
10 lines
152 B
Bash
|
#! /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
|