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=OD7O7KQNxvjgFrMpXeNEj4MQLrHJ7EZ5QgnBYax1oSVyhXvMuLtPF wgOCd+C1n5dYAqdAIK61J3bd/Yz622zwxPRVyaxd27ZmpNSK3uztj5to+q0ok1aU fCdLVcKmVnXy/46sm9tAd+acywnG76evTznRbdrNOJEVtoHYH9effc= 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=8oP6EL7lWb6Uy2/FkE/YNWYBqLo=; b=xJtjqJpJAup474NFoUYOnXaDtE+O qdy1t3MEm52WStWuutmYTc126y44Wr2SKLCgIlQPjRsKT1ksYXXcHvbmcB4aG4p9 X+oLR2Xr7tDheQ6Vzn+CFeKrm/JpLKsJF2r0tyepoqvcLLz/2lI+U7YHQGco0f1C 8b+T07e6WUD3nS8= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 19 Jan 2015 11:26:06 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Failure in merging win-env vars into post-'login'... Message-ID: <20150119102606.GC10055@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <54B7365C DOT 7020307 AT tlinx DOT org> <20150115091110 DOT GA10242 AT calimero DOT vinschen DOT de> <54B8DD29 DOT 20901 AT tlinx DOT org> <20150116105114 DOT GC3122 AT calimero DOT vinschen DOT de> <54B9AFF4 DOT 6010903 AT tlinx DOT org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Content-Disposition: inline In-Reply-To: <54B9AFF4.6010903@tlinx.org> User-Agent: Mutt/1.5.23 (2014-03-12) --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 16 16:42, Linda Walsh wrote: > Corinna Vinschen wrote: > >On Jan 16 01:43, Linda Walsh wrote: > >> > >>Prior to this, when I logged on using local credentials, I would have a > >>blank hostname. I.e. -- using 'X11' as an example, when I log in > >>locally, I see no hostname in my shell-prompt. > >>But when I log in to another system, then my path is prefixed with the > >>hostname. > >> > >>So... why did I need the local hostname with a "+"?? > > > > Does https://cygwin.com/preliminary-ntsec.html answer that question? > --- > Not entirely. But don't know that it is related to the problem > I'm seeing. It is related to the '+' sign you're seeing in the group names. That's explained in the document. > As it is only being applied to locally created groups, I'm > not going to worry about it too much (i.e. it doesn't interfere with my > samba-3.6.28-winbind credentials, and more interested in why it didn't > look at "/.rhosts" in my home directory.). It seems your home dir is different for some reason. What does your /etc/nsswitch.conf look like (if you have one)? What does getent passwd print in a local mintty session, and what does it print in a remote session via rlogin? Why on earth are you still using rlogin anyway instead of ssh? > It *looks*, at this point that my userid isn't being passed from inetd to > rlogind > so it can read the ".rhosts" file in my WIN-HOME (USERPROFILE or > HOMEDRIVE:\HOMEPATH). Your userid is bound to you token's SID. For accessing .rhosts the home dir in your passwd entry must match. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUvNu+AAoJEPU2Bp2uRE+gIVkQAKJ4/zhKsx77v2Ux3ztcde/V FonDi8WBNx+o6iMmGBQ3dgCSEO1HmNxDf597KCVZvcS5H3/VlX6u1dy03GjGMvv2 Ee11gYXqvXUO2LXjIZ8LBKHkVKF4JioQZgu0sX6cHLSoZ//Qy+E0TW6RfrE+GLeK wJJVGrvhNQSQuTLyK5tIEErjbpZNNE86rZ7Pnr42ble74fexvIw9wwHRTv3Mf9zW vd3gWTjS/lIoTqP4V//2kG/vc1EAMI3AXDfo9yHynqTCfaoy7GzJ3+DX0hG2J2iM H6+rAhuy8Yi32fhKBmJ59b3+TxH9mO7k37SmbjBLysphvDYmEl10AcTd9286AIg4 2AHI+L5w7N1Lai5QtodzLNVxnzD8cz6zy8w44YQhNqihFpKb722jB8tKL0Iib88D iJW80rtIiDVHvPBiA6zEn0yvi5S7vQOsYevmBcuErcfU/b68KvXslpZM/ZbuLNo0 3t9v1p6V3K9qrhzyi8UT/xGWW3vWyqJJKcJpH138y9/UJBz/0WyoARWSUVVkyiMb nEJPmx6WHgb3+haWncggkZrGLKQavF/r+LzYXWAyzOK0EEQJMy0Tg7BCfM6tFtD6 9dE56EDD5kJBpQ02ZiZoEqpMICMnjF4ms11trbW57ibShzon1UEGBsGuGJiR9aUe 2UZeiJQV4AXVds3xBUm4 =FnxB -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh--