delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:message-id:content-type | |
:content-transfer-encoding:mime-version; q=dns; s=default; b=rt5 | |
2gRin1R2fYdtpZzBNAoAGYwcRxfOXQEFvWB9uDThxkp1jY50YA+DOhp2Z2NtP4eE | |
zLwY93Pi17hGYiau/oF/hHoF28aKXfNTYhdqiumr+xJTbyaU9RXnaWR18RF2J2+I | |
HnvCJa6dTX0GNRF2gCru7Y/JIC90wMtek2qfVpBE= | |
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:from:to:subject:date:message-id:content-type | |
:content-transfer-encoding:mime-version; s=default; bh=1FC4Hf/Ze | |
5OHKtaRGK46Z9L8s+s=; b=In/lnLBDd1DL9IN5QubocG/tuLqcKA7xHkAP6xXoc | |
x/0jccZlkZPGq9xwwRwRDWpBLCPa34SFKu+Yi3oJvdAxDAlsMnW0EL3QIuLoPo8Y | |
KngXPMqJ9qGN+220yrynTp3PWKLYMdA1H/f2ZsrENjwqQwXw6mPsFeq3xiBny2Fo | |
hg= | |
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=0.9 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 |
X-HELO: | smtp-fr.alcatel-lucent.com |
From: | "Kertz, Denis (D)** CTR **" <d DOT kertz AT alcatel-lucent DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | Should password file entries show as machine+user |
Date: | Fri, 15 May 2015 00:47:36 +0000 |
Message-ID: | <883F2CBBC85A62419E181EB2F0ECF21F45DC614A@US70UWXCHMBA04.zam.alcatel-lucent.com> |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t4F0m05w003054 |
We have a new desktop PC with Windows 7 Professional installed. Corporate IT had to set it up with a domain to allow access to the corporate intranet. We have installed cygwin 64-bit: $ uname -a CYGWIN_NT-6.1 <machine> 2.0.2(0.287/5/3) 2015-05-08 17:00 x86_64 Cygwin On initial access, there was no passwd file so it was created by: mkpasswd -l >/etc/passwd Checking the passwd file, we were surprised to see the login entry as <machine>+login: <machine>+Upar:*:197609:197121:U-<machine>\Upar,S-1-5-21-3464461866-3395066926-2135031952-1001:/home/Upar:/bin/bash -------------- Running mkpasswd with -l -d or -l -c options gives the same results. We compared this with an older but identical desktop model also running Win7 Pro with cygwin 64-bit $ uname -a CYGWIN_NT-6.1 <machine> 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin and its password entry is just plain login (no <machine>+): Upar:unused:1000:513:U-<machine>\Upar,S-1-5-21-2470246883-414681431-158823764-1000:/home/Upar:/bin/bash ---- So far it isn't obvious there is anything wrong here. We have been able to setup cron (using /usr/bin/cron-config). Initially, cron failed and /usr/bin/cronevents said it couldn't switch user context. Checking the Win7 services.msc showed Cron was setup to use the local system account. When we changed that to use the above login (copying the setup of the older PC) a simple cron job worked. Nevertheless, we are uneasy with this <machine>+user entry since it differs from the older PC/cgwin setup. It is also rather annoying that file permissions (ls -l) show both the owner and the group prefixed with <machine>+ and which clutter the output. Anybody know whether this should be a concern (we can live with the cluttered file permissions if that is the only issue)? Could it be the later version of gywin (2.0.2 vs 1.7.32) is the reason for this difference? Or could the corporate IT have messed up the configuration and there is something we need to get fixed (if so, what)? Denis Kertz -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |