delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/02/08:07:43

X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 14:07:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd: solution to the SID change problem ?
Message-ID: <20051202130735.GS2999@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <439034F9 DOT 2020905 AT linbox DOT com>
Mime-Version: 1.0
In-Reply-To: <439034F9.2020905@linbox.com>
User-Agent: Mutt/1.4.2i
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 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
mistake which allows everybody to run under admin or even SYSTEM rights.
Just keep in mind, if something unwanted happens, it's all your fault ;-)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

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