[sudo-users] Sudo - Rexec

Todd C. Miller Todd.Miller at courtesan.com
Thu Aug 25 08:49:59 EDT 2011

On Thu, 25 Aug 2011 10:18:17 -0000, Dave wrote:

> I have been playing with rexec and sudo. I have found that sudo
> requires that you be attached to a tty device, and it will fail if
> not; typically, when you use rexec to "login" to a remote server,
> you won't have a tty attached, I think.  I was wondering if you had
> any suggestions back that might be useful to me, too.

Sudo requires a tty to be able to turn off echo when reading the
password.  You can avoid requiring a password on a per-command basis
with the NOPASSWD tag (or turn it off with the authenticate Defaults

 - todd

More information about the sudo-users mailing list