Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002b01c17c3d$130d69e0$0319450a@sandos> From: =?iso-8859-1?Q?John_B=E4ckstrand?= To: Subject: getting UID/GID of 0 Date: Mon, 3 Dec 2001 12:57:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I am trying to install debian-cygwin: http://debian-cygwin.sourceforge.net/ I have followed the instructions there for how to get root having UID/GID, but it doesnt work Im afraid. I am using the ntsec modell, and I have generated /etc/passwd and /etc/group by using mkgroup -l and mkpasswd -l respectively. I then tried to edit /etc/passwd, by just removing uneccesare users first, and then change UID/GID for root (I renamed Administrator to root) to 0. But when I use telnet to localhost, and log in as root I get this from id: uid=500 gid=544 when I log in as sandos I get: uid=1000(sandos) gid=0(root) groups=0(root) So, for sandos the GID of 0 seems to work, but not for root. The difference between those two is that root isnt the name of the account in win2k. But, according to documentation on "ntsec", that should be possible using newer versions of cygwin, which I am, if you only have the correct SID in your files, which I afaics do. /etc/group: root:S-1-5-32-544:0: Users:S-1-5-32-545:545: /etc/passwd root:unused_by_nt/2000/xp:0:0:U-SANDOS\Administrator,S-1-5-21-2000478354-158 0436667-854245398-500:/home/root:/bin/bash sandos:unused_by_nt/2000/xp:1000:0:U-SANDOS\sandos,S-1-5-21-2000478354-15804 36667-854245398-1000:/home/sandos:/bin/bash Any clues or advise? --- John Bäckstrand -- 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/