ssh and tty and sudoers file.

Knapp magick.crow at gmail.com
Mon Aug 18 21:09:13 UTC 2008


>From sudoers man file.


"

requiretty

If set, *sudo* will only run when the user is logged in to a real tty. This
will disallow things like "rsh somehost sudo ls" since
*rsh<http://linux.die.net/man/1/rsh>
*(1) does not allocate a tty. Because it is not possible to turn off echo
when there is no tty present, some sites may with to set this flag to
prevent a user from entering a visible password. This flag is *off* by
default.
"




Does ssh log into a real tty??
If not then all we have to do to limit sudo use to the local keyboarder is
set this, right?


-- 
Douglas E Knapp

http://sf-journey-creations.wikispot.org/Front_Page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080818/4625ced4/attachment.html>


More information about the ubuntu-users mailing list