1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Turn off Remove Domain ability

Discussion in 'Plesk for Linux - 8.x and Older' started by Lonewolf, Apr 6, 2005.

  1. Lonewolf

    Lonewolf Guest

    I am wanting to turn off the ability for an Admin to remove a domain through the Plesk Interface.

    Does anyone know a method of doing this? Or know of the script file being called to process the delete so that I may change/delete it?
  2. Lonewolf

    Lonewolf Guest

    Does anyone else remove domains outside of the Plesk Interface?

    If so, how are you removing them?
  3. mikk

    mikk Basic Pleskian

    Jan 29, 2005
    Likes Received:
    the domain.sh command line tool has a -r option to remove domains from the server.
  4. Lonewolf

    Lonewolf Guest

    Thanks. Now can you tell me how to execute the domain.sh script?

    I've tried the following with no success:

    domain.sh -r test.com
    sh domain.sh -r test.com
    php domain.sh -r test.com

    Everytime I come out with garbage and lots of errors.