public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Kertz, Denis (D)** CTR **" <d.kertz@alcatel-lucent.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Should password file entries show as machine+user
Date: Fri, 15 May 2015 06:52:00 -0000	[thread overview]
Message-ID: <883F2CBBC85A62419E181EB2F0ECF21F45DC614A@US70UWXCHMBA04.zam.alcatel-lucent.com> (raw)

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

             reply	other threads:[~2015-05-15  0:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-15  6:52 Kertz, Denis (D)** CTR ** [this message]
2015-05-27 13:53 ` 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=883F2CBBC85A62419E181EB2F0ECF21F45DC614A@US70UWXCHMBA04.zam.alcatel-lucent.com \
    --to=d.kertz@alcatel-lucent.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).