What is pippo? Your root password? (I don't hope so, otherwise I would
change it *as fast as you can*).
If "pippo" is indeed your root passsword, you need to type this (literally):
echo "pippo"|sudo -S /usr/sbin/netstat -x
(Although I didn't know netstat has a -x option; the man pages don't
teell anything about that).
The echo command is required; otherwise "pippo" would be interpreted as
a command.
And yes, I have tried this construct - although not with netstat, and
not in RB's shell, but in the normal terminal window.
Cheers,
Frank+++
"Bl at cking" wrote:
>
> At 16.13 30/08/2002 +0200, you wrote:
> >echo "yourpassword"|sudo -S netstat -x
>
> thanks Frank++ now the correct costruct should be :
>
> pippo|sudo -S /usr/sbin/netstat -x ?
>
> evenctually recorrect this string. Please do you have execute sometime this
> cmd??
>
> many thanks sir.
>
> Marco
--
Günter Schmidt & Co. oHG
Frank Bitterlich eMail: bitterlich at gsco dot de
Schlosserstr. 2-4 WWW: http://www.gsco.de/gsco
D-60322 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
|