From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25657 invoked by alias); 14 Oct 2011 07:39:47 -0000 Received: (qmail 25644 invoked by uid 22791); 14 Oct 2011 07:39:45 -0000 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 Received: from mux1.uit.no (HELO mux1.uit.no) (129.242.4.252) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Oct 2011 07:39:30 +0000 Received: from CAS04.ad.uit.no (cas04.uit.no [129.242.7.104]) by mux1.uit.no (8.14.2/8.14.2/Mux) with ESMTP id p9E7dRZY026331 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 14 Oct 2011 09:39:27 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.3 mux1.uit.no p9E7dRZY026331 Received: from mbs01.uit.no ([169.254.1.23]) by CAS04.ad.uit.no ([129.242.7.104]) with mapi id 14.01.0339.001; Fri, 14 Oct 2011 09:39:27 +0200 From: =?iso-8859-1?Q?Edvardsen_K=E5re?= To: Jon Clugston CC: "cygwin@cygwin.com" Subject: RE: Problems with mkpasswd and mkgroup Date: Fri, 14 Oct 2011 07:39:00 -0000 Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-10/txt/msg00243.txt.bz2 > 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 c= ygwin was installed from this account which is locally on this client and N= OT a domain user. "kae026" is the user who can log in, but isn't in the password file.=20 "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-38800= 5049-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-388005= 049-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