Uninstall Privilege Management for Unix and Linux
If pbinstall and pbmakeremotetar were used to install Privilege Management for Unix and Linux on the host, then use pbuninstall and the supporting files that were saved from the original pbinstall and pbmakeremotetar session to remove Privilege Management for Unix and Linux.
Privilege Management for Unix and Linux can be uninstalled by running the uninstall script pbuninstall. The uninstall scripts are located in the powerbroker/<version>/<flavor>/install directory. Running the uninstall script removes the appropriate product only from the machine that it runs on. Other Privilege Management for Unix and Linux hosts and concurrent (prefixed and/or suffixed) installations are not affected unless the other hosts rely upon the host that is performing the uninstall for Privilege Management for Unix and Linux services.
For example, uninstalling Privilege Management for Unix and Linux from the only (or last) policy server host will probably severely impact Privilege Management for Unix and Linux functionality on your network.
To successfully uninstall Privilege Management for Unix and Linux, you need access to the directory from which pbinstall was executed, and to the pb.cfg file. If the installation was from a CD-ROM, then the CD must be mounted. If the distribution was using FTP, then the original installation tree must exist or be restored if it was removed.
You should back up the installation directory tree and the directory that contains the created pb.cfg file before you remove them. If you remove these directories without first performing a backup, then contact BeyondTrust Technical Support for help.
If the distribution uses FTP and the environment variable TMPDIR is not set during the installation, then these two directory trees are the same. If the distribution uses a CD-ROM and TMPDIR is not set during the installation, then these files are created in /tmp.
The uninstall succeeds if the original files were not cleaned up before the uninstall or if the defaults were accepted during installation. If you intend to reinstall Privilege Management for Unix and Linux after the uninstall, then save copies, under different names, of any files you may want to look at later (for example, /etc/pb.settings).
The pbuninstall scripts, like the rest of the Privilege Management for Unix and Linux uninstallation suite, does not work with an encrypted settings file.
# ./pbuninstall Starting pbuninstall main() from /opt/beyondtrust/powerbroker/v6.0/pbx86_linuxB-6.0.0- 01/install/. x86_linuxB BeyondTrust PowerBroker Installation Removal This script will remove PowerBroker programs and files from the system. Hit return to continue Looking for SuperDaemons to configure... Finished looking for SuperDaemons to configure... Reading /etc/pb.cfg Trying /etc/pb.settings De-configuring system /etc/services and superdaemon configurations. Removing PowerBroker 'prefix ' service definitions (if any) from /etc/services. Removing any PowerBroker definitions from SuperDaemon xinetd file /etc/xinetd.conf Restarting superdaemons Reloading SuperDaemon Configurations... Done Reloading SuperDaemon Configurations... Moving /etc/pb.settings to /tmp Moving /etc/pb.conf to /tmp Moving /etc/pb.key to /tmp Moving /etc/pb.key to /tmp Removing /usr/sbin/pbmasterd... Removing /usr/local/man/man8/pbmasterd.8 ... Removing /usr/sbin/pblocald... Removing /usr/local/man/man8/pblocald.8 ... Removing /usr/sbin/pbguid... Removing /usr/local/man/man8/pbguid.8 ... Removing /usr/sbin/pblogd... Removing /usr/local/man/man8/pblogd.8 ... Removing /usr/sbin/pbreport... Removing /usr/local/man/man8/pbreport.8 ... Removing /usr/sbin/pbuvqrpg... Removing /usr/local/man/man8/pbuvqrpg.8 ... Removing /usr/sbin/pbsyncd... Removing /usr/local/man/man8/pbsyncd.8 ... Removing /usr/sbin/pbhostid... Removing /usr/local/man/man8/pbhostid.8 ... Removing /usr/sbin/pbkey... Removing /usr/local/man/man8/pbkey.8 ... Removing /usr/sbin/pbpasswd... Removing /usr/local/man/man8/pbpasswd.8 ... Removing /usr/sbin/pbsum... Removing /usr/local/man/man8/pbsum.8 ... Removing /usr/sbin/pblog... Removing /usr/local/man/man8/pblog.8 ... Removing /usr/sbin/pbencode... Removing /usr/local/man/man8/pbencode.8 ... Removing /usr/sbin/pblicense... Removing /usr/local/man/man8/pblicense.8 ... Removing /usr/sbin/pbsync... Removing /usr/local/man/man8/pbsync.8 ... Removing /usr/local/bin/pbcall... Removing /usr/sbin/pbcheck... Removing /usr/local/man/man8/pbcheck.8 ... Removing /usr/sbin/pbprint... Removing /usr/local/man/man8/pbprint.8 ... Removing /usr/sbin/pbreplay... Removing /usr/local/man/man8/pbreplay.8 ... Removing /usr/sbin/pbmerge... Removing /usr/local/man/man8/pbmerge.8 ... Removing /usr/local/bin/pbrun... Removing /usr/local/man/man1/pbrun.1 ... Removing /usr/local/bin/pbbench... Removing /usr/local/man/man1/pbbench.1 ... Removing /usr/local/bin/pbksh... Removing /usr/local/bin/pbsh... Removing /usr/local/man/man8/pbinstall.8 ... Removing /usr/local/man/man8/pbuninstall.8 ... Removing /usr/local/man/man8/pbmakeremotetar.8 ... Removing /usr/local/man/man8/pbversion.8 ... Removing /usr/local/man/man8/pbpatchinstall.8 ... Removing /usr/local/bin/pbless... Removing /usr/local/man/man1/pbless.1 ... Removing /usr/local/bin/pbmg... Removing /usr/local/man/man1/pbmg.1 ... Removing /usr/local/bin/pbnvi... Removing /usr/local/man/man1/pbnvi.1 ... Removing /usr/local/bin/pbumacs... Removing /usr/local/man/man1/pbumacs.1 ... Removing /usr/local/bin/pbvi... Removing /usr/local/man/man1/pbvi.1 ... Moving /var/log/pbmasterd.log to /tmp Moving /var/log/pblocald.log to /tmp Moving /var/log/pblogd.log to /tmp Moving /var/log/pb.eventlog to /tmp Moving /var/log/pbguid.log to /tmp Moving /etc/pb.cfg to /tmp Moving /var/log/pbksh.log to /tmp Moving /var/log/pbsh.log to /tmp Moving /var/log/pbsync.log to /tmp Moving /var/log/pbsyncd.log to /tmp Removing pbguid html help and policy example files from '/usr/local/lib/pbbuilder' Removing /usr/local/lib/pbbuilder -- empty BeyondTrust Created Directory BeyondTrust PowerBroker Installation Removal was successful PowerBroker configuration files and logs were moved to /tmp for removal