Menu

#128 Webacula 7.0.0: sudo: sorry, you must have a tty to run sudo

other
open
1
2015-02-05
2015-02-05
No

Upgraded to 7.0.0, but bconsole cannot be called.
Error: There was an error executing bconsole.

Log: sudo: sorry, you must have a tty to run sudo

OS: CentOS6

Discussion

  • Robert Oschwald

    Robert Oschwald - 2015-02-05

    needed to unset "bacula.sudo" to get it working for now as a workaround.

     
  • Robert Oschwald

    Robert Oschwald - 2015-02-05

    Fix found:

    In the /etc/sudoers file, disable requiretty for the webserver user:

    # webacula, bweb
    apache ALL=NOPASSWD: /usr/sbin/bconsole
    Defaults:apache !requiretty
    
     

    Last edit: Robert Oschwald 2015-02-05

Log in to post a comment.

MongoDB Logo MongoDB