fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] sudo fails every now and again


From: address@hidden
Subject: Re: [Fab-user] sudo fails every now and again
Date: Thu, 1 Dec 2011 10:57:18 +0200

Hi

No ldap authentication at all, the sudoers file is as basic(and insecure) as they come.

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults        env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

On Thu, Dec 1, 2011 at 10:47 AM, Ramon van Alteren <address@hidden> wrote:
Anyone have any idea?
remote: [dns1] out: sudo password:/usr/lib/python2.6/getpass.py:83: GetPassWarning: Can not control echo on the terminal.        

remote:   passwd = fallback_getpass(prompt, stream)        


Your problem is with sudo on the remote by the looks of it and has nothing to do with the key-auth details you sent along.

What's in your sudoers file ? 
Do you perhaps use ldap for sys-auth and have intermittent ldap connection problems ?

That could cause the sudo lookup for auth for this user to fail, causing this behavior.

Ramon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]