I have a script that I am running as a regular user (but one that can sudo). This script relates to BIND and gathers information each time it runs. It has not been working correctly and I noticed while looking at the file it says:
"If you're running BIND in a chroot environment, use this option to define a path to be chrooted. Please adjust also your sudo configuration to enable the user to chroot!"
I am runnning BIND in a chroot enviroment, and I can define the path to be chrooted. However, I have no idea how to adjust the sudo config to allow the user to chroot. I know to run visudo, but after that I do not know what exactly needs to be adjusted here.
I'm running RHEL server 6.7 and BIND 9.8.2