delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/14/03:39:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,TW_MK
X-Spam-Check-By: sourceware.org
X-DKIM: Sendmail DKIM Filter v2.8.3 mux1.uit.no p9E7dRZY026331
From: =?iso-8859-1?Q?Edvardsen_K=E5re?= <kare DOT edvardsen AT uit DOT no>
To: Jon Clugston <jon DOT clugston AT gmail DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Problems with mkpasswd and mkgroup
Date: Fri, 14 Oct 2011 07:39:26 +0000
Message-ID: <F76C4AF28D3313439C4ABAFF8A4C3B88200DF047@mbs01.uit.no>
References: <CAG_2cTmSi_uOSEszfLHLy_W5u+AedYr+f0xU_+XqYczWH9cCHA AT mail DOT gmail DOT com>
In-Reply-To: <CAG_2cTmSi_uOSEszfLHLy_W5u+AedYr+f0xU_+XqYczWH9cCHA@mail.gmail.com>
MIME-Version: 1.0
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9E7dpJX003415

> What is the contents of the "/etc/password" and "/etc/group" files
> after you run the "mkpasswd/mkgroup" commands (as administrator)?

> What user can log in, but isn't in the password file?

> Is that user local or a domain user?

The Windows account name with FULL admin privileges is "servicekonto" and cygwin was installed from this account which is locally on this client and NOT a domain user.
"kae026" is the user who can log in, but isn't in the password file. 
"kae026" is a domain user.

As admnistrator:

$ mkpasswd -l -d > /etc/passwd
mkpasswd (427): [5] Access is denied.

$ less /etc/passwd

SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused:500:513:U-STRV8-NTF-00063\Administrator,S-1-5-21-388005049-2988697505-1062046759-500:/home/Administrator:/bin/bash
cba_anonymous:unused:1001:513:cba_anonymous,U-STRV8-NTF-00063\cba_anonymous,S-1-5-21-388005049-2988697505-1062046759-1001:/home/cba_anonymous:/bin/bash
Guest:unused:501:513:U-STRV8-NTF-00063\Guest,S-1-5-21-388005049-2988697505-1062046759-501:/home/Guest:/bin/bash
servicekonto:unused:1002:513:U-STRV8-NTF-00063\servicekonto,S-1-5-21-388005049-2988697505-1062046759-1002:/home/servicekonto:/bin/bash
/etc/passwd (END)

$ mkgroup -l -d > /etc/group
mkgroup (369): [5] Access is denied.

$ less /etc/group

SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Cryptographic Operators:S-1-5-32-569:569:
Distributed COM Users:S-1-5-32-562:562:
Event Log Readers:S-1-5-32-573:573:
Guests:S-1-5-32-546:546:
IIS_IUSRS:S-1-5-32-568:568:
Network Configuration Operators:S-1-5-32-556:556:
Performance Log Users:S-1-5-32-559:559:
Performance Monitor Users:S-1-5-32-558:558:
Power Users:S-1-5-32-547:547:
Remote Desktop Users:S-1-5-32-555:555:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
None:S-1-5-21-388005049-2988697505-1062046759-513:513:
/etc/group (END)

Regards,
Kare


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


- Raw text -


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