[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-users
Subject:    Re: [sudo-users] !requiretty ignored
From:       "Todd C. Miller" <Todd.Miller () courtesan ! com>
Date:       2015-08-14 18:44:03
Message-ID: 11677.1439577843 () xerxes ! courtesan ! com
[Download RAW message or body]

On Fri, 14 Aug 2015 20:14:21 +0200, Han Boetes wrote:

> ~% grep tty .xsession-errors
> sudo: no tty present and no askpass program specified
> 
> What am I missing here?

You get that message when sudo needs to prompt for a password and
there is no tty present.  It is not related to requiretty.

Do you get the same error if you give sudo an explicit pathname
to run.  E.g. "sudo /usr/sbin/s2ram"

 - todd
____________________________________________________________
sudo-users mailing list <sudo-users@sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic