Problem:
When attempting to add a new user in : adminui -> services -> LiveCycle PDF Generator ES2 -> User Accounts, it results in the following error:
ALC-PDG-030-003-User account information for user pdfg1 is not valid for the machine......
The system.log shows this:
ERROR [STDERROR] sudo
ERROR [STDERROR] : sorry, you must have a TTY to run sudo
Reason:
The reason for this is an update along the way with sudo locked it down further by adding the below line to /etc/sudoers configuration file:
1 Defaults requiretty
Solution:
To allow a remote script to login and run a command via sudo simply comment out that line as shown below:
1 # Commented out so remote script can login and run a command without a tty
2 # Defaults requiretty
Leave a comment