delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/15/11:28:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 15 Feb 2003 11:28:00 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Elfyn McBratney <cygwin AT cygwin DOT com>
cc: christophe thiebot <christophe_thiebot AT hotmail DOT com>,
Peter Canning <canning AT vitria DOT com>
Subject: Re: Get it sorted! (was Re: Group name getting set to 'mkpasswd')
In-Reply-To: <058801c2d4cd$f15949a0$ab7886d9@webdev>
Message-ID: <Pine.GSO.4.44.0302151118500.7773-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sat, 15 Feb 2003, Elfyn McBratney wrote:

> > On Sat, Feb 15, 2003 at 04:33:47AM -0000, Elfyn McBratney wrote:
> > > Also this was in the strace output that Peter sent in, I withheld this bit,
> > > as I didn't quite know whether this was intended (from mkpasswd's side)
> > >
> > >    65   19353 [main] mkpasswd 1148 pwdgrp::read_group: Completing /etc/group:mkpasswd:S-1-5-21-1045767534-453787399-1741382010-513:401:canning
> > >
> > > Just wondered what to reply with. Is it a simple matter of running mkgroup?
> > > or mkpasswd?
> >
> > Yup.  The group name says it all.
>
> One for the archives: If anyone finds their group name or username set to
> "run" or "mkpasswd" or "mkgroup"...You need to do exactly that, run mkpasswd
> or mkgroup to update /etc/passwd or /etc/group respectively. There's some
> new detection code to let you know when your /etc/{group,passwd} file is
> stale.
>
> So Peter Canning, you will need to run mkpasswd. And to Christophe Thiebot,
> you will need to run mkgroup.
>
> I've CCd in case your not on the list ;-)

FYI (and for the archives), this is described in
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20>.  Perhaps
we should also have an FAQ?  Something like

* Why are my files unreadable?

First, check the permissions on the files.  If they are owned by you, make
sure they are readable by you.  If they are not owned by you, check the
owner and group of each file.  If the group is set to "mkpasswd", your
/etc/passwd and /etc/group files are out of date.  If you previously had
'ntsec' turned off, this is probably the case.

Second, check the mount table.  If Cygwin was installed for "Just me", the
standard mounts will not be visible to other users (for example, SYSTEM,
which is the user services run as).  If your standard mounts are marked
'user' in the output of "mount", re-mounting them as 'system' should help.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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