Configuring sudo - Teradata Tools and Utilities

Teradata® Tools and Utilities for Oracle Solaris on SPARC and AMD Opteron Systems Installation Guide - 17.20

Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2022-10-11
dita:mapPath
ibt1641290300169.ditamap
dita:ditavalPath
hrk1498764225196.ditaval
dita:id
B035-3136
Product Category
Teradata Tools and Utilities
  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 *