milis/talimatname/genel/e/ejabberd/ejabberd.kos-kur

5 lines
180 B
Plaintext
Raw Normal View History

2018-09-01 16:24:07 +02:00
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
groupadd -g 203 ejabberd
useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
fi