From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21730 invoked by alias); 27 Oct 2014 23:11:34 -0000 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 Received: (qmail 21717 invoked by uid 89); 27 Oct 2014 23:11:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-vbr1.xs4all.nl Received: from smtp-vbr1.xs4all.nl (HELO smtp-vbr1.xs4all.nl) (194.109.24.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 27 Oct 2014 23:11:32 +0000 Received: from webmail.xs4all.nl (dovemail18.xs4all.nl [194.109.26.20]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id s9RNBStl086397 for ; Tue, 28 Oct 2014 00:11:29 +0100 (CET) (envelope-from houder@xs4all.nl) Received: from 83.162.234.136 (SquirrelMail authenticated user incog) by webmail.xs4all.nl with HTTP; Tue, 28 Oct 2014 00:11:29 +0100 Message-ID: Date: Mon, 27 Oct 2014 23:11:00 -0000 Subject: Why does mkpasswd -c use a different offset? Corinna? From: "Houder" To: cygwin@cygwin.com User-Agent: SquirrelMail/1.4.18 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2014-10/txt/msg00466.txt.bz2 Hi Corinna, I am confused ... the output from mkpasswd -c is NOT the same as the output from mkpasswd -l -u on both my "Cygwin-32" and my "Cygwin-64". As an example, the output on my "Cygwin-64": 64-@@ uname -a CYGWIN_NT-6.1 Seven 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin 64-@@ id uid=1000(Henri) gid=513(None) groups=513(None),545(Users),1007(HelpLibraryUpdaters) 64-@@ grep Henri /etc/passwd Henri:unused:1000:513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash 64-@@ mkpasswd -l -u Henri Henri:unused:1000:513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash 64-@@ mkpasswd -c Henri:unused:11000:10513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash 64-@@ mkpasswd -C Seven\Henri:unused:11000:10513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash Note the difference between the output from 'mkpasswd -l -u Henri' and 'mkpasswd -c' (i.c. uid and gid). It is not what I expect (i.e. I do not understand). Please, enlighten me ... Thanks, Henri 64-@@ mkpasswd -l Seven -u Henri Henri:unused:11000:10513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash 64-@@ mkpasswd -l Seven,0 -u Henri Henri:unused:1000:513:U-Seven\Henri,S-1-5-21-91509220-1575020443-2714799223-1000:/home/Henri:/bin/bash 64-@@ cat /etc/nsswitch.conf passwd: files group: files db_enum: files ===== -- 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