novell-scrub.sh – use when you really, really, really want to get rid of eDirectory

Earlier I detailed a method for re-installing eDirectory from a difficult SLES 10 SP2 server.  Sometimes even this method doesn’t work, and you have to resort to using novell-scrub.sh to totally remove eDirectory from the server before it can be reinstalled.

WARNING:  THIS SCRIPT WILL REMOVE EDIRECTORY AND ALL IT’S COMPONENTS (CONSOLEONE, GROUPWISE, ETC) SO USE WITH EXTREME CAUTION.  YOU NEED TO UNDERSTAND THE RAMIFICATIONS OF USING THIS SCRIPT IN FULL.

The script will remove all packages and configuration for Novell products. It does NOT deconfigure anything. In the case of eDirectory, you will want to remove the NCP Server object from the tree, once eDirectory has been removed from the UNIX system

TID 2969195 explains how to install and use novell-scrub.sh:

Installation Procedure:

1) Download the tarred compressed file to your UNIX system.

2) Extract the file using the following command:

gzip -dc ./scrub_1_2_12.tgz | tar xvf –

3) Change to the ./scrub_1_2_12 directory where the ./novell-scrub.sh script was extracted.

4) Type ./novell-scrub.sh [options] as the root user.

The script can take the following options:

-s –show
Show which hardcoded Novell packages are installed and not installed on the system.

-d –dyn-show
This is the same as –show but Novell packages are found dynamically.

-i –dibsonly
Removes only DIB files and does not remove packages.

-n –noansi
Disable the use of ANSI colours.

–IAgreeToTheTermsAndConditions
Accepts the agreement and does not prompt for “I Agree”.

-h –help
Displays this command line help.

Leave a Reply

Your email address will not be published. Required fields are marked *