silkos.sh 114 B

1234567
  1. if [ ! -z "$(id nginx)" ]; then
  2. userdel nginx
  3. fi
  4. if [ ! -z "$(getent group nginx)" ]; then
  5. groupdel -f nginx
  6. fi