A place to collect more or less interesting software related things.
Monday, February 14, 2011
sudoers require tty in RHEL5 prohibits use of sudo in rc scripts
Since the scripts are not run from a login shell, you sudo call will not work. This can be fixed by commenting out the 'requiretty' option in the /etc/sudoers file on RHEL5.
No comments:
Post a Comment