From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Group Permissions on root folders problem (Windows 10 TP build 10061)
Date: Tue, 16 Jun 2015 15:58:00 -0000 [thread overview]
Message-ID: <20150616155843.GE31537@calimero.vinschen.de> (raw)
In-Reply-To: <CAMH9mcFOKjvjiFvvk1ju0ZxBDK28MaktdnYwj5_CjvbgnpVO4A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3909 bytes --]
On Jun 16 09:23, Brian Buchanan wrote:
> On Thu, 30 Apr 2015 at 10:24:50, Corinna Vinschen <corinna-cygwin at
> cygwin dot com> wrote:
> >[...]
> > Hmm, the permission test in the csih helper script is apparently not up
> > to the task in your situation. As a workaround, you may want to change
> > the group ownership of /var/empty to "Users" and chmod it to 755, then
> > run the ssh-host-config script again.
> >
>
> (I'm now on a fresh install of Build 10130)
>
> I had to do that to /var (not just /var/empty) to get past that
> message, but I've run into another snag with ssh-host-config
>
> I'm getting an errors saying unknown user win-g71n7drq4r6+cyg_server
> at the point of setting the password, the password expiry and
> assigning permissions.
This is a domain member machine, yes?
> *** Info: This script plans to use 'cyg_server'.
> *** Info: 'cyg_server' will only be used by registered services.
> *** Query: Create new privileged user account
> 'WIN-G71N7DRQ4R6\cyg_server' (Cygwin name:
> 'win-g71n7drq4r6+cyg_server')? (yes/no) yes
> *** Info: Please enter a password for new user
> win-g71n7drq4r6+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 'win-g71n7drq4r6+cyg_server' has been created with
> password 'Su3per$ecr3t'.
> *** 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 'win-g71n7drq4r6+cyg_server' account.
>
> passwd: unknown user win-g71n7drq4r6+cyg_server
> *** Warning: Setting password expiry for user
> 'win-g71n7drq4r6+cyg_server' failed!
This is weird. The same works for me:
*** Query: Do you want to use a different name? (yes/no) yes
*** Query: Enter the new user name: blubber
*** Query: Reenter: blubber
*** Query: Create new privileged user account 'my_machine\blubber' (Cygwin name: 'my_machine+blubber')? (yes/no) yes
*** Info: Please enter a password for new user my_machine+blubber. 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 'my_machine+blubber' has been created with password 'blubber'.
*** 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 'my_machine+blubber' account.
*** Info: The sshd service has been installed under the 'my_machine+blubber'
*** Info: account. To start the service now, call `net start sshd' or
*** Info: `cygrunsrv -S sshd'. Otherwise, it will start automatically
*** Info: after the next reboot.
*** Info: Host configuration finished. Have fun!
Is there a chance you have a non-Cygwin passwd tool in $PATH?
> [...]
> At this point sshd and a cyg_server accounts exist and the service got
> created, however it's using the Local System account.
You can change that in the Services GUI to the local cyg_server user.
> I'm guessing this is just because the Local System account doesn't
> have the required privileges.
Yes.
> What do those processes (passwd, set password expiry and assigning
> appropriate privileges) need to succeed?
I don't know why this occurs. As you can see above, it works for me.
This is a completely new setup with the Cygwin distro updated to the
latest? csih 0.9.8-6? cygwin-2.0.4-1?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-06-16 15:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAMH9mcFEL3mao+m-DEYM84kC1HOPeSBpZXD+mDf0USobF9oY7g@mail.gmail.com>
2015-06-16 13:23 ` Brian Buchanan
2015-06-16 15:58 ` Corinna Vinschen [this message]
2015-09-05 6:59 ` Takashi Yano
2015-09-06 11:44 ` Corinna Vinschen
2015-09-10 11:05 ` Takashi Yano
2015-09-10 17:23 ` Corinna Vinschen
2015-09-10 17:27 ` Eric Blake
2015-09-10 17:31 ` Corinna Vinschen
2015-09-10 17:36 ` Eric Blake
2015-09-10 17:49 ` Corinna Vinschen
2015-09-11 0:50 ` Andrey Repin
2015-09-11 1:24 ` Eric Blake
2015-09-11 2:05 ` Andrey Repin
2015-09-11 10:04 ` Takashi Yano
2015-09-11 11:10 ` Corinna Vinschen
2015-09-11 12:33 ` Takashi Yano
2015-09-11 15:18 ` Corinna Vinschen
[not found] ` <DJzl1r0012qVqVd01Jzm3c>
2015-09-10 15:49 ` David A Cobb
2015-09-10 16:07 ` Ken Brown
2015-09-10 17:29 ` Corinna Vinschen
[not found] ` <FU891r01R2qVqVd01U8Bkq>
2015-09-10 20:41 ` David A Cobb
2015-04-29 14:45 Brian Buchanan
2015-04-30 8:24 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150616155843.GE31537@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).