delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/11/17:57:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_MK,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Date: Tue, 11 Jan 2011 23:57:17 +0100
From: David Sastre <d DOT sastre DOT medina AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Proper Setting of mkpasswd and mkgroup
Message-ID: <20110111225717.GC9075@jethro.local.lan>
References: <20110111190057 DOT GB9075 AT jethro DOT local DOT lan> <029401cbb1d3$dd9c3990$98d4acb0$@com>
MIME-Version: 1.0
In-Reply-To: <029401cbb1d3$dd9c3990$98d4acb0$@com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

--/e2eDi0V/xtL+Mc8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 11, 2011 at 02:09:40PM -0700, Gary Furash wrote:
> > On Tue, Jan 11, 2011 at 10:55:09AM -0700, Gary Furash wrote:
> > > Problem:
> > > 1. When I create a file or such using cygwin, it says that the group=
=20
> > > is "mkpasswd".
> > >=20
> > > What's the proper combination of MKPASSWD and MKGROUP commands to run=
?=20
> >=20
> > Backup both files first (/etc/passwd and /etc/group).
> > Try to rebuild your /etc/passwd and /etc/group files by issuing:
> >=20
> > $ mkpasswd -l [-d] > /etc/passwd
> > $ mkgroup  -l [-d] > /etc/group
> >=20
> > Please refer to the manpages of mkpasswd and mkgroup regarding the use =
of
> > -d/-D for machines inside a Domain.
> >=20
> > There are also detailed instructions in /etc/profile on how to deal with
> > this.
> Thank you David. However, I did do that, I just didn't understand it. :-)

Did you read the manpages?

> I assume there is a mkgroup and mkpasswd you issue if you have a stand-al=
one
> machine, and a slightly different one you issue if you're part of a windo=
ws
> domain.

Exactly. That is what the -d/-D option does.

> However, I'm definitely not doing the right thing, since when I run bash.=
exe
> from the dos command line to run in the background, it fails with the
> "everything is MKGROUP" error.

Have you tried using another terminal, like mintty, and see if it
makes a difference?

What exactly is the output of the commands above?

Also, please, don't top post and try not to quote email addresses in
your responses.
--=20
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

--/e2eDi0V/xtL+Mc8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0s4E0ACgkQYX05bESLMeuhhgCgzh36Y3B+fN8hQKdUrKRx7EyS
whwAoMlBqFTRv0x/n5RdPCaq05wpG8wO
=k8Yo
-----END PGP SIGNATURE-----

--/e2eDi0V/xtL+Mc8--

- Raw text -


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