delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 30 Jun 2006 11:54:51 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Access to Network Drive under ssh |
Message-ID: | <20060630095451.GQ18873@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <200606300846 DOT k5U8kpg8007217 AT sd DOT skydive1 DOT com> <20060630093831 DOT GM18873 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
In-Reply-To: | <20060630093831.GM18873@calimero.vinschen.de> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Jun 30 11:38, Corinna Vinschen wrote: > On Jun 29 22:46, Richard Foulk wrote: > > I've written my own mount command for Cygwin in Perl. One thing to > > be aware of is that drive letters aren't necessary with Cygwin. > > > > You can't say: `cd \\xyz\c$' with Windows cmd.exe. > > > > You *can* say things like: `cd //xyz/c\$' in Cygwin. This cleans up > > many things. If you have the right permissions `net use' isn't necessary! > > > > A wrapper for `net use' in Perl is pretty easy to do, including all > > the password stuff. > > > > Those drive letters just get in the way. Don't use them. > > To add another data point: > > When running under a public key ssh session, you're running in the login > session of the SYSTEM user. Also, since you used pubkey instead of > password login, you don't have the credentials for network access. This > has two results: Three, it were three results: > - You must use the net command to connect to non-public shares. > - You must use username and password in the net use command. > - You can't use drive letters. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |