delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/08/11:03:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0
Message-ID: <14736.8438.172033.507342@jupiter.akutech.de>
Date: Tue, 8 Aug 2000 17:02:14 +0200 (MDT)
From: Ralf Fassel <ralf AT akutech DOT de>
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: cygwin-1.1.4: problems with remote commands
In-Reply-To: <39901901.8785A2BF@cygnus.com>
References: <14736 DOT 5240 DOT 873978 DOT 980058 AT jupiter DOT akutech DOT de>
<39901901 DOT 8785A2BF AT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019