delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/04:23:34

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
Date: Thu, 5 Dec 2002 10:23:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: HOME set to / [Was: cygwin-1.3.16-1]
Message-ID: <20021205102308.A22577@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <asklc2$d8q$1 AT main DOT gmane DOT org> <OIENKAGCMBEDKDHGANIKKELICJAA DOT john DOT r DOT morrison AT ntlworld DOT com>
Mime-Version: 1.0
In-Reply-To: <OIENKAGCMBEDKDHGANIKKELICJAA.john.r.morrison@ntlworld.com>
User-Agent: Mutt/1.3.22.1i

On Wed, Dec 04, 2002 at 10:46:42AM -0000, John Morrison wrote:
> > From: Chris Game
> > 
> > In an earlier post, John Morrison  wrote:
> > 
> > [...]
> > - now how do I get out of this 'None' group
> > that I'm apparently in, and into 'Users' or even 'Administrators'?
> 
> Sorry, I don't know.  I'm in 'None' too.

'None' (resp. it's native version) is the name of the default group each
user is in, if the machine isn't a domain member machine.  Otherwise
the group typically changes to (the native version of) 'Domain Users'.

On non-domain machines, there's no way to change that.  Your primary
group is unchangeable set to 'None'.  Each other group you're member
of is just a supplementary group, to use a UNIX idiom here.

So, to reflect the situation of a "normal" user exactly as it's given
on NT, the passwd entries would look like this:

 Administrator:*:500:513:...
 admin2:*:1001:513:...
 user1:*:1002:513:...
 user2:*:1003:513:...

and the related /etc/group entries:

 None:*:513:
 Administrators:*:544:Administrator,admin2
 Users:*:545:Administrator,admin2,user1,user2

However, what's fixed on NT isn't necessarily fixed for Cygwin.  As long
as you are really a member of a group, you are allowed to change your
primary group membership to that group in /etc/passwd by hand:

  user1:*:1002:545:...

Note that this has only an effect in Cygwin.  And note that the
user's guide contains a description what you can change in

  http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.1

HTH,
Corinna

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