pbversion

  • Version 5.1.2 and earlier: pbversion not available.
  • Version 5.2 and later: pbversion available.

pbversion reports the binary file version numbers and optionally reports installed components of Privilege Management for Unix and Linux. This non-interactive utility can be run on any machine and provides a list of the version numbers for all known Privilege Management for Unix and Linux binary files. Installations are identified using the prefix and suffix arguments or the default installation if a prefix and/or suffix is not specified.

Only root can run pbversion. Prior to v8.0 pbversion can only be run from the installation directory and it should not be moved from the installation directory because it is dependent on Privilege Management for Unix and Linux installer scripts.

With v8.0 and later, pbversion is available as part of the installed binaries after the install (located in the admin directory which is /usr/sbin by default).

pbversion does not report on Privilege Management for Unix and Linux versions prior to v4.0 because the binary version arguments were not available previously. Also, it does not report on binary version for executable files pbnvi or pbuvqrpg because the version argument does not display the binary version.

pbversion [options]
   -p prefix
   -s suffix
   -c
pbversion -v
pbversion -h
-c Displays the installed components.
-h Prints usage message and exits.
-p prefix Sets the installation prefix.
-s suffix Sets the installation suffix.
-v Prints the version of pbversion and exits.
Display the binary versions for the installation using the prefix my along with the Privilege Management for Unix and Linux installation components by executing the following:
./pbversion -p my -c

For more information, please see the following: