sudoers broke after Easyapache4 conversion

aNightOne

Member
May 13, 2014
7
0
1
cPanel Access Level
Root Administrator
After upgrading from easyApache3 to easyapache4 and going from PHP 5.6 to PHP 7.0
My php scripts that had been working correctly relying on sudoers to ssh into a different server and place a backup there stopped working. I get the following errors:

a2.domain.com : Sep 19 01:00:02 : coresa2 : user NOT in sudoers ; TTY=unknown ; PWD=/home/coresa2/public_html/cs-5 ; USER=coresa2 ; COMMAND=/usr/bin/ssh -i /home/coresa2/.ssh/cswest_ubiq -p 6900 [email protected] cat >/home/democs/mysql_cs5_dumps/2016-09-19/cs5_master_cron_2016-09-19-01_00_02.sql.gz

The sudoers file seems intact and still includes the following addition:

nobody 162.249.6.102=(coresa2)NOPASSWD:/usr/bin/ssh

Ideas?