You can install the Commvault software as a sudo user with root privileges. The sudo user must be added to the /etc/sudoers file.
Before You Begin
-
For HP-UX, AIX, and Solaris computers, install
sudoon the client before adding asudouser. -
On Solaris computers, edit the
/etc/default/loginconfiguration file and set the "PATH=" variable to the directory wheresudois installed.
Procedure
-
Log on to the client computer as root.
-
Open the
/etc/sudoersconfiguration file in editable mode by using the following command:visudo -
Add the
sudouser.-
If you want users to perform all UNIX commands as root users, enter the following:
sudouser ALL=(ALL) ALLTo remove the password prompt during the computer login, specify
NOPASSWD: ALLas follows:sudouser ALL=(ALL) NOPASSWD: ALL -
If you want users to only run Commvault commands as root users, enter the following:
## Allow users to install and run Commvault commands Cmnd_Alias DVDINSTALLCMDS =/package_location/cvpkgadd Cmnd_Alias DVDUNINSTALLCMDS =/usr/bin/cvpkgrm ## Path to the Commvault installation directory Cmnd_Alias INSTALLDIRCMDS =/opt/unix_oem_inssubdir/* ## Path to the scripts and binaries needed for the push install Cmnd_Alias CVPUSH =/opt/seed/, /opt/unix_oem_inssubdir/, /opt/unix_oem_inssubdir/installer/, /opt/unix_oem_inssubdir/Base/, /usr/bin/unix_oem_inssubdir, /usr/local/bin/unix_oem_inssubdir, /usr/bin/cvpkgrm, /usr/local/bin/cvpkgrm sudouser ALL = DVDINSTALLCMDS, DVDUNINSTALLCMDS, INSTALLDIRCMDS, CVPUSH, /bin/sh, /usr/bin/unix_oem_inssubdirwhere package_location is the path to the package.
Note
The default Commvault installation directory is /opt/commvault. If your setup uses an alternate installation directory, use that alternate directory in the above commands.
-