[Spacewalk-list] sudo: no tty present and no askpass program specified

Steve Meier email at steve-meier.de
Tue Oct 16 13:38:22 UTC 2012


Dear all,

apparently this was not a problem with /etc/sudoers.

Our default nsswitch.conf reads "sudoers: ldap" as we keep our roles and permissions in LDAP.
For sudo to also consider a local /etc/sudoers I changed it to "sudoers: files ldap". Works fine now.

Kind regards,
  Steve

Am 15.10.2012 um 13:48 schrieb Steve Meier:

> Dear all,
> 
> I am currently in the process of setting up a new Spacewalk 1.7 with
> Postgres backend
> on CentOS 5.8. I have done the installation and Spacewalk is running but I
> can not modify
> the configuration in the Web-GUI. I see the following error in
> /var/log/secure:
> 
> Oct 15 10:29:57 syscon004 sudo:   tomcat : no tty present and no askpass
> program specified ; TTY=unknown ; PWD=/usr/share/tomcat5 ; USER=root ;
> COMMAND=/usr/bin/rhn-config-satellite.pl --target=/etc/rhn/rhn.conf
> --option=server.satellite.http_proxy_username=
> --option=server.satellite.http_proxy=proxy.us-ec.adtech.com:3128
> --option=server.satellite.http_proxy_password= 2>&1 > /dev/null





More information about the Spacewalk-list mailing list