sudo && rsh question
Alex.Wilkinson at dsto.defence.gov.au
Fri May 9 00:36:03 PDT 2003
I have a slight problem with running sudo over an rsh connection.
If I rsh to a box and pass to it the sudo command my password gets echo'ed to stdout.
# rsh host sudo ls /
It seems that this is a terminal handling problem.
If I run:
# rsh host xterm -e sudo ls /
an exterm starts up and I can type my password in without it being echo'ed to stdout.
The xterm then sits in the background.
I have tryed using subshells and couldn't suss it out.
Can anyone recommend a way so that the terminal does *not* echo my password when sudo prompts
More information about the freebsd-questions