delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/22/16:22:07

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=bWSmzQv5obPv6b1I
255acgps6Ya4pgFCph/7rRtrOnpDTSBVFFszke1OX//0dIicEQMuKOr1MhyJfKbg
gPaK7DYNKlh9d3QYy1wRN48Dl5XDhQWFNurwd4Q2Xn+du6eKor7CIFYU5/onqCj1
M0XmHWZYk/3P259IrbmoO8OEGII=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=iZTGrdan3whSxXelaC0fFu
LNsZg=; b=mBr+aZ0+y0h4j6nO95DV3y5FDpZPicuyT4Tae188xbZcMbpnI3EmvZ
kjOdI480NwYgRxOubLGFC418Rc+81orQMpQ5REi2dR8NboYpKyquiPGrn7MiJ53f
wSIMtW6jxShVY/XA+2LWieRlvWHN4762SBP/kTq7ACy4rOGZIQ3oQ=
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,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sessions
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=PvS9kTE3 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=vvgl0S4FsKb8ALGoUacA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: ERROR: There was a serious problem creating a privileged user.
To: cygwin AT cygwin DOT com
References: <435310905 DOT 4130646 DOT 1527002674700 DOT ref AT mail DOT yahoo DOT com> <435310905 DOT 4130646 DOT 1527002674700 AT mail DOT yahoo DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Autocrypt: addr=Brian DOT Inglis AT SystematicSw DOT ab DOT ca; prefer-encrypt=mutual; keydata= xsBNBFg15Q0BCADc1LTYJN/oVKOJoXpIo+5yy+sBv535qYNRh5CFqp3pPZwIy6oILNKprWph 8J+sXMqYd5H0G1jMDlXendiQbn9SiORuqI7xkV8vzguoFEMhNTxnO1pOQjqRnEnG/W7/5Yy+ DkcCv+Y4O3NX3wol8yP+FaEx4EEEifaO5ZhC1U/ilvHvxE0wjNhRG6AqlvqX6J09bxkJC8Xd 00MZWotDHtiq/wnd8YqyDmf0aJceGxSetHnqn/Cs3WiylEEUy2x/FqKbsBxUJHGQeeRTFAW1 ii08djCemxdE+romE/M9J9CVisSZImbXMSilX6Z2Qtz0lYPkY0EqbiKo8o9zlkIPhaqJABEB AAHNREJyaWFuIEluZ2xpcyAoU3lzdGVtYXRpYyBTb2Z0d2FyZSkgPEJyaWFuLkluZ2xpc0BT eXN0ZW1hdGljU1cuYWIuY2E+wsCVBBMBAgA/AhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIX gBYhBE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PVI4xLwX/YzVm4ld1t4BePiW9VRM9hH3JBYVwt9YU+IIcH7jWh2D7Z34oj2lETzjs MenYTiZxRm/jRp44wsB8BBgBAgAmAhsMFiEETL+wnj0Vo38B8hAmNj17ALGHGpMFAlqL0acF CQ1EzRoACgkQNj17ALGHGpO4vwf+K/DRVdeVBbhz07xewxp8NwTJXbcwfh91kAKyz5laW51r vEhGjvwYItfEBEfAl04T0mT3798NA5Nl3iYpbS2ssJ9a8mfA0l84tuqx7t7J2+B2PZStOnLg M7/n6YDD+KWBmkQaDAzDKpv/aQWIortDrgE0qXxjaRFeW1qJd+rK8bZT82ITgY48DfJmBezg zN3WnNX+eQQjMaSd5p4TlYYRaP/x0KefprfMi6rQvn1AifEqxN23XQ5CJShEqXw3HS8MI7Mz LTCUlzfj2AltAEIBly6a0EEGoDMICYncntPt7DyHOcASY7Cv4uRI51cXMSN19NqvKE3UCxEt hVQ2WgRY0A==
Message-ID: <c1e293d2-e575-8701-4e49-cdbe57c54b84@SystematicSw.ab.ca>
Date: Tue, 22 May 2018 14:21:50 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <435310905.4130646.1527002674700@mail.yahoo.com>
X-CMAE-Envelope: MS4wfAgutYElRM7tMhRnlb405miXN8AP60iCpEc6bzik8rE37VyibawZMBfR2spl4Tiw2qgogcpAM9YEf1C38FR7hOkGr0j503wCxtSZq3mjaiIBIxj4SNb9 NPlykv47VuB7/NrJ+3kbxdv5E5ME6uQqCTUrh+5MIh4e+a5ArbIwdYZqw63tWhNvLN8GWDPGXaSXjg==
X-IsSubscribed: yes

On 2018-05-22 09:24, Nuzhna Pomoshch via cygwin wrote:
> On Tue, 5/22/18, Marco Atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> On 5/21/2018 11:53 PM, Nuzhna Pomoshch via cygwin wrote:
>>> Trying to configure ssh.
>>> Followed guides found on the internet (pretty much all the same).
>>> The problem comes when the script tries to create the user:
>>> *** Query: Create new privileged user account 'HOST\cyg_server' (Cygwin name 'host cyg_server')? (yes/no) yes
>>> *** Info: Please enter a password for new user host+cyg_server. Please be sure
>>> *** Info: that this password matches the password rules given on your system.
>>> *** Info: Entering no password will exit the configuration.
>>> *** Query: Please enter the password:
>>> *** Query: Reenter:
>>> *** Info: User 'host+cyg_server' has been created with password 'password'.
>>> *** Info: If you change the password, please remember also to change the
>>> *** Info: password for the installed services which use (or will soon use)
>>> *** Info: the 'host+cyg_server' account.
>>> passwd: unknown user host+cyg_server
>>> *** Warning: Setting password expiry for user 'host+cyg_server' failed!
>>> *** Warning: Please check that password never expires or set it ot your needs.
>>> No user or group 'host+cyg_server known.
>>> *** Warning: Assigning the appropriate privileges to user 'host+cyg_server' failed!
>>> *** ERROR: There was a serious problem creating a privileged user.
>>> *** Query: Do you want ot proceed anyway? (yes/no)
>> It seems you miss the needed permission.
>> Has your user admin privilege on the 'host' ?
>> what system is ?
> Yes, I ran the cygwin shell as administrator, and I
> noticed (since it was the first time I had done that)
> all of the files created in the home directory.
> The system is Windows 7, 64-bit.

Try setting up the cygserver service and creating the account with
/bin/cygserver-config before setting up sshd with /bin/ssh-host-config.

If you're going to run Cygwin services, multiple sessions, or many processes,
especially in a domain, cygserver reduces the overhead.

If you still have problems, run cygcheck -hrsv and attach the output to a reply
post.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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