Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14736.8438.172033.507342@jupiter.akutech.de>
Date: Tue, 8 Aug 2000 17:02:14 +0200 (MDT)
From: Ralf Fassel <ralf@akutech.de>
To: cygwin <cygwin@sources.redhat.com>
Subject: Re: cygwin-1.1.4: problems with remote commands
In-Reply-To: <39901901.8785A2BF@cygnus.com>
References: <14736.5240.873978.980058@jupiter.akutech.de>
	<39901901.8785A2BF@cygnus.com>
Organization: Akustik Technologie Goettingen (ATG)

* Corinna Vinschen
| Ralf Fassel wrote:
| > - the `net use' command is not able to read a password.
--<snip-snip>--
| This is a known problem. Some native NT tools behave rather strange
| when called from terminal based applications.

Hi Corinna,
thanks for the quick reply.  The reason I'm asking is (of course)
automated execution of commands which require remote mounts:
   UNIX% ssh NT-host some-script
`some-script' sets up proper mounts (via `net use'), executes the
commands and unmounts everything when done.  I don't want to put the
required passwords in those scripts.  However, it should be possible
to wrap the stuff using a non-echo read in interactive bashes, so it
is not really a problem there.

BTW, it would be very nice, if `mount' would be able to act as
replacement for `net', like this:

  $ mount //jupiter/disk3 /disk3
  Password: xxxx

All this drive letter hassle is just a nuisance...  If you `net use'
one in bash and forget to /delete it before bash-logout, the drive
letter is unusable until next reboot for non-WinGurus like me...

Regards
R'
-- 
Only the guys wearing white hats should do this.  [perl5 crypt() manpage]

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

