delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/13/13:34:13

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=L+
GXFi4uLJARHfLltqui9d77cS/Ak+rSS8HZSze9McKVpIitijPBPOdZWz7KRzDHqx
ki9HUZGuPFKckWckewaMq5UpbqDtPfnR1fcPV4ZNPgi9iZYpBSoBWxuyvzzc9lro
67zQ3Cq3GybmSAp+OdjChvaxyxjLfTyoVmu517so8=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=sa94gJuA
mrao2JCWB1WzBtbh5dA=; b=sftWECFN4r7q2DPqjGt56wL9Ojt7IbPAzZk6ISeb
n9b+CGNYEypbcJ4d+KmlzXERe6Qx8/Wc4jk+a622E9x1O52yvqirE4zEyf1TOV4N
LF+x7acxrOwwg66yJE0kdtprId5nTUDVhblBDiPJ2GrlHhS6WD3rLob5qZR359ZB
xrA=
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=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qc0-f180.google.com
MIME-Version: 1.0
X-Received: by 10.140.38.75 with SMTP id s69mr4927573qgs.62.1392316435073; Thu, 13 Feb 2014 10:33:55 -0800 (PST)
In-Reply-To: <952874943.20140213200700@mtu-net.ru>
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <CAAXzdLVtMzdNDdm9-4puB1jJngjONS=Wbq3TXmDrJKDHcBJ5Ow AT mail DOT gmail DOT com> <952874943 DOT 20140213200700 AT mtu-net DOT ru>
Date: Thu, 13 Feb 2014 13:33:55 -0500
Message-ID: <CAG9p0OT=MoM4NMM=fi5aZb7+wEiUVNh9Y38hyEgzOSY2+LuWZA@mail.gmail.com>
Subject: Re: Testers needed: New passwd/group handling in Cygwin
From: Lord Laraby <lord DOT laraby AT gmail DOT com>
To: Andrey Repin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header
declaration changes ?)

This would be a nice mechanism for typical windows home systems except for
the format of the cygwin tag that goes in the comment field. Home users
that utilize 'net user USERNAME "/comment:yadda yadda"' command cannot use
equal signs on the command line, and the entire string has to be quoted to
prevent angle brackets from messing with redirection. Equal signs are
stripped by CMD.exe and the nexted quotes are stripped as well.

Example: I entered the following at elevated cmd prompt,

C:\WINDOWS\system32>net user TestUser "/comment:<cygwin check="maybe"
then="okay>"
The command completed successfullly.

C:\WINDOWS\system32>net user TestUser
User name                   TestUser
Full name                   Test User
Comment                     <cygwin check=maybe then=okay>
...
The command completed successfullly.

So, I do not know how to get the information into the field in the proper
format.

--
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