public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: ERROR: There was a serious problem creating a privileged user.
       [not found] <1288793636.5768706.1527407917749.ref@mail.yahoo.com>
@ 2018-05-27  8:22 ` Nuzhna Pomoshch via cygwin
  0 siblings, 0 replies; 5+ messages in thread
From: Nuzhna Pomoshch via cygwin @ 2018-05-27  8:22 UTC (permalink / raw)
  To: cygwin, Nuzhna Pomoshch

On 2018-05-22 20:21:50 Brian Inglis <Brian.Inglis@SystematicSw.ab.ca> wrote:
>On 2018-05-22 09:24, Nuzhna Pomoshch via cygwin wrote:
>> On Tue, 5/22/18, Marco Atzeri <marco.atzeri@gmail.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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ERROR: There was a serious problem creating a privileged user.
  2018-05-22 17:19 ` Nuzhna Pomoshch via cygwin
@ 2018-05-22 23:29   ` Brian Inglis
  0 siblings, 0 replies; 5+ messages in thread
From: Brian Inglis @ 2018-05-22 23:29 UTC (permalink / raw)
  To: cygwin

On 2018-05-22 09:24, Nuzhna Pomoshch via cygwin wrote:
> On Tue, 5/22/18, Marco Atzeri <marco.atzeri@gmail.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ERROR: There was a serious problem creating a privileged user.
       [not found] <435310905.4130646.1527002674700.ref@mail.yahoo.com>
@ 2018-05-22 17:19 ` Nuzhna Pomoshch via cygwin
  2018-05-22 23:29   ` Brian Inglis
  0 siblings, 1 reply; 5+ messages in thread
From: Nuzhna Pomoshch via cygwin @ 2018-05-22 17:19 UTC (permalink / raw)
  To: cygwin, Marco Atzeri

On Tue, 5/22/18, Marco Atzeri <marco.atzeri@gmail.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 ?
 
Hi. Thanks for the reply.

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.

Nuzhna

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ERROR: There was a serious problem creating a privileged user.
  2018-05-21 22:56 ` Nuzhna Pomoshch via cygwin
@ 2018-05-22  8:35   ` Marco Atzeri
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2018-05-22  8:35 UTC (permalink / raw)
  To: cygwin, nuzhna_pomoshch

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 ?

> Problem reports:       http://cygwin.com/problems.html


Regards
Marco

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* ERROR: There was a serious problem creating a privileged user.
       [not found] <1496898027.3835973.1526939595770.ref@mail.yahoo.com>
@ 2018-05-21 22:56 ` Nuzhna Pomoshch via cygwin
  2018-05-22  8:35   ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Nuzhna Pomoshch via cygwin @ 2018-05-21 22:56 UTC (permalink / raw)
  To: cygwin

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)


If I say no, then of course, the script stops. If I say yes:


*** Warning: Expected privileged user 'host+cyg_server' does not exist.
*** Warning: Defaulting to 'SYSTEM'

*** Info: The sshd service has been installed under the LocalSystem
*** Info: account (also known as SYSTEM). To start the service now, call
*** Info: `net start sshd' or `cygrunserv -S sshd'. Otherwise, it
*** Info: will start automatically after the next reboot.

*** Warning: Host configuration exited with 1 errors or warnings!
*** Warning: Make sure that all problems reported are fixed,
*** Warning: then re-run ssh-host-config.



Tried to search for this in the mailing list archives, and
have found similar problems (but no solutions):

http://sourceware.org/ml/cygwin/2017-01/msg00233.html

http://sourceware.org/ml/cygwin/2016-04/msg00212.html

http://sourceware.org/ml/cygwin/2016-01/msg00016.html

http://sourceware.org/ml/cygwin/2016-03/msg00586.html

Any idea what is going on?

Thanks.

Nuzhna

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-27  8:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1288793636.5768706.1527407917749.ref@mail.yahoo.com>
2018-05-27  8:22 ` ERROR: There was a serious problem creating a privileged user Nuzhna Pomoshch via cygwin
     [not found] <435310905.4130646.1527002674700.ref@mail.yahoo.com>
2018-05-22 17:19 ` Nuzhna Pomoshch via cygwin
2018-05-22 23:29   ` Brian Inglis
     [not found] <1496898027.3835973.1526939595770.ref@mail.yahoo.com>
2018-05-21 22:56 ` Nuzhna Pomoshch via cygwin
2018-05-22  8:35   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).