X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_MK,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <1318508261 DOT 16180 DOT 96 DOT camel AT kare-desktop> <173806064 DOT 20111013175535 AT mtu-net DOT ru> Date: Thu, 13 Oct 2011 16:05:08 -0400 Message-ID: Subject: Re: Problems with mkpasswd and mkgroup From: Jon Clugston To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9DK5Zpk019456 2011/10/13 Edvardsen Kåre : > Greetings, Kеre Edvardsen! > >> I've installed cygwin "system wide" on a client (W7 32b) from an account >> with full Administrators privileges. However, opening a Bash shell (or >> xterm) as another user prompts: > >>      Your group is currently "mkpasswd".  This indicates that your >>      gid is not in /etc/group and your uid is not in /etc/passwd > >>      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. > >> Before asking too many questions I should inform you that the settings >> etc. for the various users on the W7 client resides on a separat server. >> I've tried various suggestions found in the lists, but with no success. >> Obviously, there is a solution to my problem, but I'm struggling to find >> the right one. > > It's in front of your eyes. > Don't you see it? > >>      mkpasswd -l [-d] > /etc/passwd >>      mkgroup  -l [-d] > /etc/group > > I wish it was that simple... > > As I said, I've tried various solutions (you'll find several posts around the topic in the list) but non of them seem to solve my problen. meaning: > > mkpasswd -l -d > /etc/passwd > > and > > mkgroup  -l -d > /etc/group > > (or using any other flags) does not make any difference... > > Cheers, > Kare > 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? -- 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