Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

asking for sudo password to run some apigee commands

Not applicable

Does anything change across versions (17.01 to latest 17.09) related to sudo or root requirements that makes apigee-all, specifically apigee-service apigee-machinekey, to ask sudo password?

When running this command with apigee user and NOPASSWD in sudo config it works fine

/opt/apigee/apigee-service-4.17.09-0.0.603/bin/apigee-service apigee-machinekey has_action status

but in other case is asking for sudo password

1 1 692
1 REPLY 1

Not applicable

This issue could be fixed following the next steps:

Change the apigee-machinekey ownership:

 > sudo apigee-service apigee-machinekey chown apigee apigee

Modifying:

vi /opt/apigee/apigee-machinekey/lib/settings
...
RUN_USER="apigee"