delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/07/21:34:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Eric Hanchrow <offby1 AT blarg DOT net>
Subject: Re: Problems with net use statement via sshd on cygwin
Date: 07 Apr 2003 18:34:14 -0700
Lines: 33
Message-ID: <878yulydpl.fsf@blarg.net>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0304071808460 DOT 3870-100000 AT ns DOT aus DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0304072034490 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "Igor" == Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:

    Igor> AFAIK, "net use" requires interaction with the desktop.  If
    Igor> the "Allow service to interact with the desktop" box is
    Igor> unchecked for your sshd service, "net use" will not succeed.

I think that's only the case if you don't give it all the information
it needs, in particular the password.  But Richard's example appears
to provide all the information it needs.

I do wonder, however, about all those backslashes ... I only use at
most four in a row, like this:

    18:32:07 [erich AT slop erich]$ ssh alpha
    erich AT alpha's password: 
    Last login: Mon Apr  7 13:23:14 2003 from slop.vhcorp.com
    Fanfare!!!
    You are successfully logged in to this server!!!

    18:32:45 [erich AT alpha erich]$ net use \* \\\\10.10.89.89\\d$ /u:user "password"
    Drive J: is now connected to \\10.10.89.89\d$.

    The command completed successfully.

    18:32:52 [erich AT alpha erich]$ 

-- 
A hacker would consider being asked to write
        add x to y giving z
instead of
        z = x+y
as something between an insult to his intelligence and a sin against God.
        -- Paul Graham (http://paulgraham.com/popular.html)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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