8 lines
133 B
Bash
8 lines
133 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if ! getent passwd git &>/dev/null; then
|
||
|
echo "creating git user..."
|
||
|
useradd -m git
|
||
|
usermod git -aG docker
|
||
|
fi
|