delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/09/11:02:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IZ5cogjj1eeCuAHQwBcSVgdpkqGHcmEmAO0FSnZsW+Z
4e1c+Jn76x3fkEoCjb/feyh+c48FEyuxhDkpn8Kf1OZD3FwdgbG42yePlqNwjmqO
VrE25Ld6TYXUU84Jh4ql2hOddk6u6OxCCkiYSz+Tp2U9zuVJOCg0HxWyEvl3Ywi0
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=jP6cHTc5EXQFdTcUqz0u1Hu57cw=; b=EUb+n9gkTmo8jC9+L
27npwoN3uryk7nQJ4J0VwtrCRzH6Tu0Xrsy6JIssHh+9b4zEyAEKdZHeG1dOnM/9
oTzGJXtlNnHeMgCFcZ1X4Kd7d2PKdyuWYI6HVHUsUnr4qD9np1BmUXTAFl+LQbk6
jMKGPwl7bsKALnxptyi80cAQ0w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtpout101.leidos.com
Message-Id: <54FDB5F0.1090609@leidos.com>
Date: Mon, 9 Mar 2015 11:02:08 -0400
From: Roger Wells <ROGER DOT K DOT WELLS AT leidos DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Re: net user "completed with one or more errors"
References: <CAO2ddnZJT4wL8ei7Jk5N=6AoYfBa8FHDL5Fidbc-iyQ+MQx_Qg AT mail DOT gmail DOT com>
In-Reply-To: <CAO2ddnZJT4wL8ei7Jk5N=6AoYfBa8FHDL5Fidbc-iyQ+MQx_Qg@mail.gmail.com>
X-IsSubscribed: yes

On 03/09/2015 09:43 AM, Kizito Porta BalanyĆ  wrote:
> Hello,
>
> Executing net user or cmd.exe /c "net user" inside a ssh console
> returns:  "The command completed with one or more errors."
>
> This doesn't happen locally with or without cygwin.
>
> Is this a bug or similar ?
>
> Thanks a lot for your time.
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>
>
FWIW
I tried your test and I think it is ok:

In an SSH session (from a Fedora client to a Cygwin64/Win7 sshd server):

roger AT rwells-x220 ~
$ net user

User accounts for \\RWELLS-X220

-------------------------------------------------------------------------------
Administrator            cyg_server Guest
roger                    sshd
The command completed successfully.


And:

$ uname -a
CYGWIN_NT-6.1 rwells-x220 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin

HTH


-- 
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger DOT k DOT wells AT leidos DOT com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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