This is the mail archive of the
mailing list for the Cygwin project.
Re: mkpasswd:  An internal error occured.
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 28 Jun 2006 10:53:46 +0200
- Subject: Re: mkpasswd:  An internal error occured.
- References: <00a001c69a39$3aa12310$67d0c346@rtt42p>
- Reply-to: 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
> (I assume the group information is OK.)
> When I enter the mkpasswd command:
> $ mkpasswd -l
> mkpasswd (272):  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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html