Ad Widget

Collapse

sudo: no tty present and no askpass program specified

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adamf
    Junior Member
    • Mar 2015
    • 1

    #1

    sudo: no tty present and no askpass program specified

    Hiya

    I am trying to get Zabbix up and running.

    I am getting this error after adding a new host and trying the detect OS option.

    I have read about the sudoers file, commenting out the default tty etc but still cannot get it to work

    any ideas ?

    thanks
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    This advice also doesn't work?


    Try 1) Use NOPASSWD line for all commands, I mean:

    jenkins ALL=(ALL) NOPASSWD: ALL

    2) put the line after all other lines in the sudoers file!

    That worked for me (ubuntu 14.4)
    Sincerely yours,
    Aleksey

    Comment

    Working...