Fwd: Remote shutdown with sudo?

Paul Lussier pll at mclinux.com
Fri Jun 9 12:18:40 EDT 2000

In a message dated: Fri, 09 Jun 2000 04:46:03 PDT
George Meharry II said:

>Sudo sure can do that job you're and more.
>sudo "rsh remote_node shutdown ..."
>(Of course, the node you run sudo on should be a
>"trusted host" so the rsh command will work on the
>remote machine...)

If you're going to do this, you may as well do it right and implement ssh 
along with sudo, and turn off rsh, rlogin, rcp, rexec, and telnet.

Then you don't need to worry about the concept of "trusted host", you just 
need to implement ssh without a passphrase, have it rely on the ssh keys, and 
you're done.  Everything is still secure, and it works the way you want it too 
	"I always explain our company via interpretive dance.
	     I meet lots of interesting people that way."
					  Niall Kavanagh, 10 April, 2000

	 If you're not having fun, you're not doing it right!

More information about the sudo-users mailing list