I am creating a JCL(Mainframe) to execute a shell file in a unix server and getting “sudo: pam_authenticate: Conversation error“.
I need your suggestion here to fix this.
Command in JCL(STPIPFIX is a parameter):
Please note this user(pwcwappd) has sudo access to run this command in JCL.
sudo su - pwcwappd -c /app/WCW0/prod/scripts/start.sh STPIPFIX
start.sh:
if [ $1 = "STPIPFIX" ]
then
nohup /app/WCW0/prod/STPIPFIX/STPIPFIX.sh &
fi
Log:
UNIVERR LOG
********************************* TOP OF DATA **********************************
sudo: no tty present and no askpass program specified
sudo: pam_authenticate: Conversation error
******************************** BOTTOM OF DATA ********************************
Please advise.
Prashant
How to execute a shell script file expecting argument in unix from Mainframe JCL
-
- Posts: 1
- Joined: Mon Apr 03, 2017 5:27 am