realbasic-nug
[Top] [All Lists]

Re: Shell Help2

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Shell Help2
From: "Bl at cking" <marco dot giardina at tin dot it>
Date: Fri, 30 Aug 2002 16:59:59 +0200
At 16.49 30/08/2002 +0200, you wrote:
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):

 yes root password.

   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 parameter x it's only to figure all possible options (-a or other)


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.

many,many thank Frank++ ..last things if you can..suppose that this cmd will be launched within more computer and don't know the root password. This strategy is good if you know the password (our computer) and cable it inside the cmd.. but more generally as can i give on dynamic mode this information from other computers..

thanks on advance.

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

---
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>