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:date:from:reply-to:reply-to:to:message-id :subject:mime-version:content-type:content-transfer-encoding :references; q=dns; s=default; b=eZ2hvHyNy3bPbRKYPE+BXzGN0kEyNqu foWBMDLSHOF50j21vX1k81A10XzurIhN12457CUY1g3O6D+ottAaqCbb0QU/Vzzc HboG+Rl10QyrhtHtlzhK3fCFEA3LNdjcFhQ8Csl8aExxAv3M58PuKjChuNyYXo0/ qPFglIRQ7/+k= 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:date:from:reply-to:reply-to:to:message-id :subject:mime-version:content-type:content-transfer-encoding :references; s=default; bh=P2e6uo5Vn2bIP3pklSxTdvy0Aio=; b=gQ2ee 17YPk4dYK3qMv19oI3ZPC3YZKhd6eTMYchMNkBVQsRMgr/KSEj9XvfnvT/uGTrwm vXn9lC+3Re6xe3FY2Xo9JobC4f+aAJ7Shx04KyLgX1NnvTr6RXBDCvKwfe3hjoPd +B9iW7Q8K15hAMldr3EaqnDkRBOOZjkifk6rck= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:74.6.129, HOST, processes, H*x:Version X-HELO: sonic317-29.consmr.mail.bf2.yahoo.com Date: Sun, 27 May 2018 07:58:37 +0000 (UTC) From: "Nuzhna Pomoshch via cygwin" Reply-To: Nuzhna Pomoshch Reply-To: Nuzhna Pomoshch To: , Nuzhna Pomoshch Message-ID: <1288793636.5768706.1527407917749@mail.yahoo.com> Subject: Re: ERROR: There was a serious problem creating a privileged user. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1288793636 DOT 5768706 DOT 1527407917749 DOT ref AT mail DOT yahoo DOT com> On 2018-05-22 20:21:50 Brian Inglis wrote: >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. That didn't work... the first time, but when I retried it, it did. And strangely enough (I had to reinstall Windows and cygwin), the exact same behavior occurred after the reinstallation (after running cygserver-config, ssh-host-config failed the first time, and worked the second time. Thank you very much. -- 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