Loading...

Adding SUDO Users with Root Privileges on a UNIX Client

You can install the SnapProtect 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 SUDO on the client before adding a SUDO user.
  • On Solaris computers, edit the /etc/default/login configuration file and set the "PATH=" variable to the directory where SUDO is installed.

Procedure

  1. Log on to the client computer as root.
  2. Open the /etc/sudoers configuration file in editable mode by using the following command:

    visudo

  3. Add the SUDO user.
    • If you want users to perform all UNIX commands as root users, enter the following:

      sudouser ALL=(ALL) ALL

      To remove the password prompt during the computer login, specify NOPASSWD: ALL as follows:

      sudouser ALL=(ALL) NOPASSWD: ALL

    • If you want users to only run SnapProtect commands as root users, enter the following:

      ## Allow users to install and run SnapProtect commands
      Cmnd_Alias DVDINSTALLCMDS =/DVD_Mount_Location/cvpkgadd
      Cmnd_Alias DVDUNINSTALLCMDS =/usr/bin/cvpkgrm

      ## Path to the SnapProtect Installation directory
      Cmnd_Alias INSTALLDIRCMDS = Installation_Directory/*

      sudouser ALL = DVDINSTALLCMDS, DVDUNINSTALLCMDS, INSTALLDIRCMDS, /bin/sh, /usr/bin/SnapProtect