16.20 - Configuring sudo - Teradata Tools and Utilities

Teradata® Tools and Utilities for Linux Installation Guide Amazon Linux 2, CentOS, OEL, RedHat, SLES, Ubuntu

Product
Teradata Tools and Utilities
Release Number
16.20
Release Date
November 2020
Content Type
Installation
Publication ID
B035-3160-108K
Language
English (United States)
  1. Log on as the root user.
  2. Run the following command to open the sudoers file:
    visudo
  3. Add the appropriate line for the operating system to the sudoers file:
    Operating System File Name
    AIX ALL ALL=(root) NOPASSWD: /usr/sbin/installp *,/usr/bin/lslpp *
    Linux (CentOS, OEL, RedHat, SLES) ALL ALL=(root) NOPASSWD: /bin/rpm -ivh *,/bin/rpm -e *
    Linux (Ubuntu) Ubuntu ALL ALL=(root) NOPASSWD: /bin/dpkg -i *,/bin/dpkg -r*,/bin/dpkg -P *
    Solaris ALL ALL=(root) NOPASSWD: /usr/sbin/pkgadd *,/usr/sbin/pkgrm *