delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/13/10:05:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,TW_MK
X-Spam-Check-By: sourceware.org
Date: Thu, 13 Oct 2011 17:55:35 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <173806064.20111013175535@mtu-net.ru>
To: Kåre Edvardsen <kare DOT edvardsen AT uit DOT no>, cygwin AT cygwin DOT com
Subject: Re: Problems with mkpasswd and mkgroup
In-Reply-To: <1318508261.16180.96.camel@kare-desktop>
References: <1318508261 DOT 16180 DOT 96 DOT camel AT kare-desktop>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 13.10.2011, <17:55>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019