This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Testers needed: New passwd/group handling in Cygwin
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Lord Laraby <lord dot laraby at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 13 Feb 2014 23:45:16 +0400
- Subject: Re: Testers needed: New passwd/group handling in Cygwin
- Authentication-results: sourceware.org; auth=none
- 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> <CAG9p0OT=MoM4NMM=fi5aZb7+wEiUVNh9Y38hyEgzOSY2+LuWZA at mail dot gmail dot com>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
Greetings, Lord Laraby!
> 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,
That's just not true, unless someone holding their hands away from keyboard,
mouse and every other input device.
> and the entire string has to be quoted to prevent angle brackets from
> messing with redirection.
Well, see the statement above. Simply not true.
> 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>"
But Corinna did not said to enter this.
She told you to enter (in your case):
net user TestUser /comment:"<cygwin check=\"maybe\" then=\"okay\"/>"
Or, using Cygwin shell (console or mintty):
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.
Of course, it did. Computers are very stupid. They do what you tell them to
do, no more, no less.
> So, I do not know how to get the information into the field in the proper
> format.
Exactly as Corinna told you to.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 13.02.2014, <23:01>
Sorry for my terrible english...
--
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