Remove configurations
You can remove the Safeguard Server or Sudo Plugin configurations by using the –u option with the following commands:
- pmsrvconfig to remove the Safeguard Server configuration 
 - pmjoin_plugin to remove the Sudo Plugin configuration 
 
 
Take care when you remove the configuration from a policy server, particularly if the policy server is a primary server with secondary policy servers in the policy group, as agents joined to the policy group will be affected.
 
    Uninstalling the Safeguard software packages
To uninstall the Safeguard packages
- Log in and open a root shell. 
 - Use the package manager for your operating system to remove the packages: 
 
Table 7: Safeguard Server uninstall commands
| RPM | 
# rpm -e qpm-server  | 
| DEB | 
# dpkg -r qpm-server  | 
Table 8: Sudo Plugin uninstall commands
| RPM | 
# rpm -e qpm-plugin  | 
| DEB | 
# dpkg -r qpm-plugin  | 
| Solaris | 
# pkgrm QSFTpmplg  | 
| HP-UX | 
 # swremove qpm-plugin   | 
| 
 AIX  | 
 # installp -u qpm-plugin  | 
 
    Uninstalling Safeguard for Sudo on macOS
To uninstall Safeguard for Sudo on macOS
- Open /Applications and click QPM4Sudo_Uninstaller. 
 - When it asks if you want to delete the pmclient user, enter yes or no. 
 
To uninstall Safeguard for Sudo from the command line
- Enter:
/opt/quest/qpm4u/bin/uninstall
 - To delete the pmclient user, enter: 
dscl . -delete /Users/pmclient
 
 
    Upgrade Safeguard for Sudo
Safeguard for Sudo supports a direct upgrade installation from version 2.0. The Safeguard software in this release is provided using platform-specific installation packages.
If you are currently running Privilege Manager for Unix 2.0, it may be possible to perform a direct upgrade installation depending on the package management software on your platform (Note: Direct upgrade installations are not possible with Solaris.pkg packages). If you perform a direct upgrade installation, your previous configuration details are retained. Where a direct upgrade is not possible, you must first remove the previously installed package, and install and configure Safeguard as a new product installation.