Privilege Manager for Sudo command does not run in cron.
Error message is "Request rejected by Privilege Manager"
The same command can be ran on the command line.
This can be caused by the command requiring a tty.
Check the email message produced by cron for the following entry:
sudoers: sorry, you must have a tty to run sudo
Configure sudoers to not require tty
Edit the policy:
# pmpolicy edit
Add the following:
To only disable this for a specific user, then add:
To only disable for a specific program:
© 2020 One Identity LLC. ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz