From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91521 invoked by alias); 22 May 2018 20:21:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91505 invoked by uid 89); 22 May 2018 20:21:55 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 May 2018 20:21:53 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id LDn4f7k7mvB5RLDn5fsd0O; Tue, 22 May 2018 14:21:52 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: ERROR: There was a serious problem creating a privileged user. To: cygwin@cygwin.com References: <435310905.4130646.1527002674700.ref@mail.yahoo.com> <435310905.4130646.1527002674700@mail.yahoo.com> From: Brian Inglis Openpgp: preference=signencrypt Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= xsBNBFg15Q0BCADc1LTYJN/oVKOJoXpIo+5yy+sBv535qYNRh5CFqp3pPZwIy6oILNKprWph 8J+sXMqYd5H0G1jMDlXendiQbn9SiORuqI7xkV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llHRGDLQ0B/HKAPgNnLCenzDuV/d+N1RDbbpa0c/uvmoptR Aejlq3HszXYQ9wTmu8OwVSITSkzgP1lKzyDPZS9SGvlrQp8AEQEAAcLAZQQYAQIADwIbDAUC Wn5HFgUJBCmViQAKCRA2PXsAsYcakzi/B/9kps3abVY7dZuyFbHzZthm5RPEepFWjyONTtMj fyhfhKVel+NJP12DOEPTQPa+8jmL33BqxDeATqvAyieHEfCvuuOXulnrQ5LKNBLn1iU2JRZJ /v4ZoUID5lYg8vQASOfryjSao47+sJNy6KpRTXhKHK6oL1Lg+2muuDhw3atGRJWKUrt01r6+ mZol3ZyQbF6Defv2/Uxf7cC0R7t9FIYQZPqblOh5G0csLWTrUrVFS51W2ePmhZnv6PzUnWe0 qJH2CydPVI4xLwX/YzVm4ld1t4BePiW9VRM9hH3JBYVwt9YU+IIcH7jWh2D7Z34oj2lETzjs MenYTiZxRm/jRp44wsB8BBgBAgAmAhsMFiEETL+wnj0Vo38B8hAmNj17ALGHGpMFAlqL0acF CQ1EzRoACgkQNj17ALGHGpO4vwf+K/DRVdeVBbhz07xewxp8NwTJXbcwfh91kAKyz5laW51r vEhGjvwYItfEBEfAl04T0mT3798NA5Nl3iYpbS2ssJ9a8mfA0l84tuqx7t7J2+B2PZStOnLg M7/n6YDD+KWBmkQaDAzDKpv/aQWIortDrgE0qXxjaRFeW1qJd+rK8bZT82ITgY48DfJmBezg zN3WnNX+eQQjMaSd5p4TlYYRaP/x0KefprfMi6rQvn1AifEqxN23XQ5CJShEqXw3HS8MI7Mz LTCUlzfj2AltAEIBly6a0EEGoDMICYncntPt7DyHOcASY7Cv4uRI51cXMSN19NqvKE3UCxEt hVQ2WgRY0A== Message-ID: Date: Tue, 22 May 2018 23:29:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAgutYElRM7tMhRnlb405miXN8AP60iCpEc6bzik8rE37VyibawZMBfR2spl4Tiw2qgogcpAM9YEf1C38FR7hOkGr0j503wCxtSZq3mjaiIBIxj4SNb9 NPlykv47VuB7/NrJ+3kbxdv5E5ME6uQqCTUrh+5MIh4e+a5ArbIwdYZqw63tWhNvLN8GWDPGXaSXjg== X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00264.txt.bz2 On 2018-05-22 09:24, Nuzhna Pomoshch via cygwin wrote: > On Tue, 5/22/18, Marco Atzeri 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