public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Should password file entries show as machine+user
@ 2015-05-15  6:52 Kertz, Denis (D)** CTR **
  2015-05-27 13:53 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Kertz, Denis (D)** CTR ** @ 2015-05-15  6:52 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Should password file entries show as machine+user
  2015-05-15  6:52 Should password file entries show as machine+user Kertz, Denis (D)** CTR **
@ 2015-05-27 13:53 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-05-27 13:53 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On May 15 00:47, Kertz, Denis (D)** CTR ** wrote:
> 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

You don't need a passwd file.  Please read the extensive documentation
at https://cygwin.com/cygwin-ug-net/ntsec.html


HTH,
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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-27 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-15  6:52 Should password file entries show as machine+user Kertz, Denis (D)** CTR **
2015-05-27 13:53 ` Corinna Vinschen

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).