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