Prerequisites for using Linux and HP-UX root credentials on a remote node

  • If you have run HP SUM as a root user directly on this system in the past, remove the temp directory created by HP SUM.

  • Make sure the user has read/write access permissions to the /tmp and /var directories.

  • If you create a sudo user, make sure that you add that user to the /etc/sudoers file. The following table shows the privileges and specifications for users.

    User Privilege Specification
    Root ALL=(ALL) ALL
    Sudo_user ALL All
  • Edit the entry in the /etc/sudoers file so the system asks for the sudo user password instead of root user password when you run the sudo command.

  • The following table shows the privileges to comment or remove from /etc/sudoers.

    User Privilege Specification
    All ALL=(ALL) ALL

    [WARNING! ]

    WARNING! Only use this option with Defaults targetpw.


  • To use super user functionality, configure the user as a super user with all root privileges. You can also use non-root user with a root user to update components.

  • When using SSH keys for login credentials combined with sudo, edit the entry in the /etc/sudoers file so that the system does not ask for the user password as follows:

    User Privilege Specification
    sudo_user ALL NOPASSWD:ALL