delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/02/10:25:37

X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 10:25:27 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ludovic Drolez <ldrolez AT linbox DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: sshd: solution to the SID change problem ?
In-Reply-To: <dmpjuc$29c$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0512021021430.27528@slinky.cs.nyu.edu>
References: <439034F9 DOT 2020905 AT linbox DOT com> <20051202130735 DOT GS2999 AT calimero DOT vinschen DOT de> <dmpjuc$29c$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

On Fri, 2 Dec 2005, Ludovic Drolez wrote:

> Corinna Vinschen wrote:
> > On Dec  2 12:50, Ludovic Drolez wrote:
> >
> > > Hello,
> > >
> > > Since I do not want to update '/etc/passwd' each time the SID changes
> > > (sysprep deployment for example), I wanted to know if I can modify my
> > > /etc/passwd like this:
> > >
> > > Administrator:unused_by_nt/2000/xp:544:544:U-Administrator,S-1-5-32-544:/home/Administrator:/bin/bash
> > >
> > > Or assign any other well know SID to the user ? S-1-5-18 ?
> > >
> > > Sshd seems to work well, but does it have any side effects on cygwin and
> > > windows?
> >
> >
> > You can hurt your /etc/passwd as you like as long as it works.  It
> > won't affect native Windows apps usually, unless you make some bad
>
> So having the same SID for the user and unix group won't make cygwin (and
> windows) go crazy ?

AFAIK, Windows groups are actually compound users.  As long as the SID you
use in both /etc/passwd and /etc/group belongs to a Windows group, you
should be ok.  I don't know what will happen with a user's SID (this
actually is a question to Corinna, since ACL and group ownership mapping
happens within Cygwin).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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