milis/talimatname/genel/nginx/nginx.kos-kur

8 lines
176 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
id www 2>/dev/null
if [ $? -eq 0 ]; then
2017-04-25 19:29:54 +02:00
echo "www kullanicisi zaten tanimli"
2016-02-24 01:27:23 +01:00
else
2017-04-25 19:29:54 +02:00
echo "www kullanicisi olusturuldu"
2016-02-24 01:27:23 +01:00
useradd -M -s /bin/false -c "www user" www
fi