X-Spam-Check-By: sourceware.org Date: Wed, 28 Jun 2006 10:53:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: mkpasswd: [1359] An internal error occured. Message-ID: <20060628085346.GB19759@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00a001c69a39$3aa12310$67d0c346 AT rtt42p> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a001c69a39$3aa12310$67d0c346@rtt42p> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jun 27 18:30, roger tubby wrote: > I have just set-up cygwin (1.5.19-4) on a XP/Pro/SP2 non-domain system and > got the expected: > Your group is currently "mkpasswd". This indicates that > the /etc/passwd (and possibly /etc/group) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > mkpasswd -l [-d] > /etc/passwd > mkgroup -l [-d] > /etc/group > Note that the -d switch is necessary for domain users. > > When I enter the mkgroup command: > $ mkgroup -l > SYSTEM:S-1-5-18:18: > None:S-1-5-21-#####-513:513: > ..etc.. > > (I assume the group information is OK.) > > When I enter the mkpasswd command: > $ mkpasswd -l > SYSTEM:*:18:544:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > mkpasswd (272): [1359] An internal error occurred. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > My NT login has full admin privileges when I am setting up cygwin and > running the shell. > > I believe I need a valid /etc/passwd in order to run ssh. The error message above is what's returned by the Windows function to enumerate users (NetUserEnum). Tragically, this error isn't even documented for NetUserEnum. This isn't a Cygwin problem, afaics. There's something going wrong on your machine which you will have to figure out somehow. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/