Tagged Questions
4
votes
1answer
360 views
How to run this in sudo?
I have this line that I execute from php
sudo -u db2inst1 -s -- "/opt/ibm/db2/current/bin/db2 connect to PLC; /opt/ibm/db2/current/bin/db2 \"update EDU.contact set MOBILE_PHONE = '123'\""
it works ...