Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

# Begin Global WebSphere standard template Ver 2.0.

1 Date 2023-11-03 * Master *


Refer xxxxx Begin #
# Description WebSphere Application Server
# Software products and versions V5.0 / V5.1 / V6.0
# Supported OS platforms AIX
# local functional ID wasadmin
# local path changes <:Install Path > = /usr/WebSphere/AppServer
# local OS groups for the Master KYNDRYLWASS , KYNDRYLWASM
# self serve access permitted for all sub templates except KYNDRYLWASM
#
# This sudo section should only be used when architectural considerations require
WebSphere to be run as root.
# root privileges are not required to run WebSphere and #after V8.0 they are not
required for patching WebSphere
#
#==================================================================================
===
# NOTE this version requires sudoers.sampleconfig.V8.4 or newer which
# can be located from: http://ibm.biz/GsudoStandardAlias
#==================================================================================
===
#
# Version control
#
# See changelog on Global sudo wiki https://ibm.biz/ChlogMiddlewareTemplates for
previous changes
#
# Updates in this version:
# V1.4.3 - jekri@dk.ibm.com - security update, replaced negating entries with
standard
# KYNDRYL_CHOWN_NEG from
# sudoers.sampleconfig http://ibm.biz/GsudoStandardAlias
#
# - !/usr/bin/chown *..* , !/usr/bin/chown *./*, !/usr/bin/chown -R
*[\:space\:]/* * , \
# -KYNDRYL_WAS_BAU WAS_HOSTS = KYNDRYL_WAS_BAU_CMDS
# +KYNDRYL_WAS_BAU WAS_HOSTS = KYNDRYL_WAS_BAU_CMDS, KYNDRYL_CHOWN_NEG
#
# V2.0.0 - daniele.palumbo-v-tservices@kyndryl.com - moved the template to Kyndryl
# V2.0.1 - ankur.malik@kyndryl.com - changed ITM installation path from
/opt/KYNDRYL to /opt/IBM
#-------------------------------------------------------------------------
#
# Replace sample group names with real group names for your account
#
User_Alias KYNDRYL_WAS_BAU = %wasgroup
#
# use a different group for maintenance windows, so all we need to do is add/remove
folks from group:
#
User_Alias KYNDRYL_WAS_ADM = %wasgroup1

Host_Alias WAS_HOSTS = ALL # in this case, we want this defined on all hosts,
indicate subsets as appropriate.
#
# --------------Do not change anything below this line, excepting to replace <:path
*> content with local pathing. ------------------
#
Cmnd_Alias KYNDRYL_WAS_BAU_CMDS = \
/opt/IBM/WebSphere/AppServer/bin/, \
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/, \
/root/bin/, \
/bin/kill,\
/bin/chown, \
/usr/sbin/rmsock, \
/usr/bin/systemctl, \
/usr/bin/journalctl, \
/usr/bin/nc, \
/usr/bin/tail, \
/usr/bin/less, \
/usr/bin/grep, \
/usr/bin/awk, \
/usr/bin/cp, \
/usr/bin/mv, \
/usr/bin/ls, \
/usr/bin/rm, \
/usr/bin/mkdir, \
/usr/bin/chmod, \
/usr/bin/chown, \
/usr/bin/vi, \
/usr/bin/nano, \
/usr/bin/cat, \
/usr/bin/wget, \
/usr/bin/curl, \
/usr/sbin/chkconfig, \
/usr/bin/nohup, \
/usr/bin/bzip2, \
/usr/bin/tar, \
/usr/bin/unzip, \
/usr/bin/zip, \
/usr/bin/gzip, \
/usr/bin/gunzip, \
/usr/bin/find, \
/usr/bin/locate, \
/usr/bin/df, \
/usr/bin/du, \
/usr/bin/free, \
/usr/bin/netstat, \
/usr/sbin/ping, \
/usr/sbin/ip, \
/usr/bin/traceroute, \
/usr/sbin/ifconfig, \
/usr/bin/ssh, \
/usr/bin/scp, \
/usr/bin/sftp, \
/usr/bin/ps, \
/usr/bin/top, \
/usr/bin/kill, \
/usr/bin/killall, \
/usr/bin/echo, \
/usr/bin/touch, \
/bin/su - wasadmin

KYNDRYL_WAS_BAU WAS_HOSTS = KYNDRYL_WAS_BAU_CMDS, KYNDRYL_CHOWN_NEG

# Begin Global WebSphere standard template Ver 2.0.0 Date 2022-02-22 *


Maintenance * Refer xxxxx Begin #
# Description WebSphere maintenance group
# Software products and versions - NA
# Supported OS platforms - If required see above AIX
# local functional ID - If required - ie if different than the "master"
# local path changes - If required - ie if different than the "master"
# local OS groups
# self serve access permitted for groups

Cmnd_Alias KYNDRYL_WAS_ADM_CMDS = \
/bin/su - root

KYNDRYL_WAS_ADM WAS_HOSTS = KYNDRYL_WAS_ADM_CMDS

# End Global WebSphere standard template Ver 2.0.1 Date 2023-11-03 * Maintenance
* Refer xxxxx End #

# End Global WebSphere standard template Ver 2.0.1 Date 2023-11-03 * Master *
Refer xxxxx End #

You might also like