delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/23/07:05:44

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=sqAUHaeTF/sYjmPF2jXVd3bhHOXVIZTomTpek+PFuE4/t56v+ULCB
DVpF2OJTZnrI4Pg26rN6ONWDXc22gu8+3hbL8V3b1wwkG0nQiLf0RCkOaqU0rslG
e0717rcV2P6yPQEeZetxGBb52r1mGdmq5rDjLdg1YreycHBUzNpCZw=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=vGxvptblXkv1QQEZd98H4tjzJgs=; b=kqW7hMbz1N0JoblisEienosxi+di
2xBRlgNnUyfbFIK+iyLUV6//y15oUAsKN7TPFO2e+bXBkobJ07rVn4d0wxSY6xGq
2OaKNKIOr4J+vBd3uGQKj/hKUSz+9elV+pjRKe4OheznJbdppExtWxs+ZIVjfLJl
Ks5k168HpGzHKI4=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Feb 2015 13:05:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug in csih?
Message-ID: <20150223120522.GI437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54E7C402 DOT 80306 AT intersystems DOT com>
MIME-Version: 1.0
In-Reply-To: <54E7C402.80306@intersystems.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--2xeD/fx0+7k8I/QN
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 20 18:32, Len Giambrone wrote:
> Running the latest version:
>=20
> $ cygcheck -c cygwin openssh csih
> Cygwin Package Information
> Package              Version        Status
> csih                 0.9.8-5        OK
> cygwin               1.7.34-6       OK
> openssh              6.7p1-2        OK
>=20
> When I run
>=20
>    ssh-host-config -y -w XXXXX
>=20
>=20
> I get this:
>=20
> *** Query: Create new privileged user account 'WX64LG\cyg_server' (Cygwin
> name: 'cyg_server')? (yes/no) yes

WX64LG is the local machine, right?  If you're in a domain, the Cygwin
name should have been "WX64LG+cyg_server", not just "cyg_server".

> I am on a machine in a domain.  /usr/bin/getent passwd cyg_server returns
> nothing:
> $ getent passwd cyg_server

That's correct.  The user account from Cygwin's point of view is
"WX64LG+cyg_server".  Try this:

  $ getent passwd WX64LG+cyg_server

The bug is in csih_select_privileged_username(), apparently.  In a
domain environment, it should have prepended the machine name to the
"cyg_server" user name.

I'll try to come up with a fix asap.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--2xeD/fx0+7k8I/QN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU6xeCAAoJEPU2Bp2uRE+g/LkP/j8zBEY4e4MMzc+nlT/wqBVG
l28s8dvQD8uYqm5ZxGWSrzD7eiguFkJlxWGxqZF4cek6uHtbRdjDP/XEiojhBTgt
uVCeUt12EZksjdHLLeoZSPoz6MDcslE7VevZu4nv8qpbKOF0JbZREnfIp+bo+eap
MMlXNwmX2TqBVLxhu8BE4WcyRibvI2GlDFscUbjJjRfxEpM8LQkEmyXq/6ZegWux
XNOLcr0wLMaz7hS76cBJlZ9FWDl1FFqgmImxoAMjwyujAUJ+/Hm+5eAxRET4g/lF
I8VvxJLfmMPHm6yc/0Tv95Jmj9qZDaE4ZTSYI6pa61zisIzF6UUnQmq6P/mKXdnN
FHFkUAZzl684AIq9nWQe5OWgjcSNlATwKzc1441iYLePkkBfxfG/tXZHQvD+6FcH
IeUewVv4kPmAUA4RA55WKXiEsVTpJPffKOayVny1KIax6vtMVrNK+eMsA98dcXZP
qlQ8VsKCGvwXftnuyAeZhnQ6cFaYc7Y43DmN/KbUuVpYDppW5IF6ySE9nRvvWrHu
/F0DKdbdkKhxsjl3jJtGx1zl8yD8fi3X7NsFJiY3SPBYpdCY+hSIkwVf+MI0bTIb
iJmR4+DEljdhY/oZfpXs6wbxuji0cdfvUJAvL/9lDoe2hoPlknHL8EiU/ZX49CKm
uZ/pCmf/al/UGcP7HgnU
=ChQW
-----END PGP SIGNATURE-----

--2xeD/fx0+7k8I/QN--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019