11 lines
220 B
Bash
Executable file
11 lines
220 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# if user shimmie doesn't already exist, create it
|
|
if ! id -u shimmie >/dev/null 2>&1; then
|
|
groupadd -g $GID shimmie || true
|
|
useradd -ms /bin/bash -u $UID -g $GID shimmie || true
|
|
fi
|
|
|
|
exec "$@"
|