public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* getting UID/GID of 0
@ 2001-12-03 23:56 John Bäckstrand
  2001-12-04  0:27 ` unsubscribe my ID ? salai sivamal.G
  2001-12-04  2:07 ` getting UID/GID of 0 Corinna Vinschen
  0 siblings, 2 replies; 5+ messages in thread
From: John Bäckstrand @ 2001-12-03 23:56 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* unsubscribe my ID ?
  2001-12-03 23:56 getting UID/GID of 0 John Bäckstrand
@ 2001-12-04  0:27 ` salai sivamal.G
  2001-12-04  1:49   ` Keith Starsmeare
  2001-12-04  2:07 ` getting UID/GID of 0 Corinna Vinschen
  1 sibling, 1 reply; 5+ messages in thread
From: salai sivamal.G @ 2001-12-04  0:27 UTC (permalink / raw)
  To: cygwin-return-41117-gsivamal=icope.com, cygwin
  Cc: foobaz-unsubscribe-gsivamal=icope.com

i could not unsubscribe !!!

anybody can help me ?

-Salai


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unsubscribe my ID ?
  2001-12-04  0:27 ` unsubscribe my ID ? salai sivamal.G
@ 2001-12-04  1:49   ` Keith Starsmeare
  2001-12-04  8:09     ` Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Starsmeare @ 2001-12-04  1:49 UTC (permalink / raw)
  To: cygwin

Look at the headers of this message, there's a "List-Unsubscribe" field with
an email address. Mail it.

Keith
----- Original Message -----
From: "salai sivamal.G" <GSivamal@icope.com>
To: <cygwin-return-41117-gsivamal=icope.com@cygwin.com>; <cygwin@cygwin.com>
Cc: <foobaz-unsubscribe-gsivamal=icope.com@sources.redhat.com>
Sent: Tuesday, December 04, 2001 8:02 AM
Subject: unsubscribe my ID ?


> i could not unsubscribe !!!
>
> anybody can help me ?
>
> -Salai



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: getting UID/GID of 0
  2001-12-03 23:56 getting UID/GID of 0 John Bäckstrand
  2001-12-04  0:27 ` unsubscribe my ID ? salai sivamal.G
@ 2001-12-04  2:07 ` Corinna Vinschen
  1 sibling, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2001-12-04  2:07 UTC (permalink / raw)
  To: cygwin

On Mon, Dec 03, 2001 at 12:57:09PM -0800, John B?ckstrand wrote:
> I am trying to install debian-cygwin: http://debian-cygwin.sourceforge.net/

We don't support derivative packages on this list.

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

However, login as "root" instead of "sandos" should help.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unsubscribe my ID ?
  2001-12-04  1:49   ` Keith Starsmeare
@ 2001-12-04  8:09     ` Christopher Faylor
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Faylor @ 2001-12-04  8:09 UTC (permalink / raw)
  To: cygwin

On Tue, Dec 04, 2001 at 08:53:59AM -0000, Keith Starsmeare wrote:
>Look at the headers of this message, there's a "List-Unsubscribe" field with
>an email address. Mail it.

Or follow the instructions at the bottom of this message and *keep reading* until
you get to the part that works.

cgf

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-04 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03 23:56 getting UID/GID of 0 John Bäckstrand
2001-12-04  0:27 ` unsubscribe my ID ? salai sivamal.G
2001-12-04  1:49   ` Keith Starsmeare
2001-12-04  8:09     ` Christopher Faylor
2001-12-04  2:07 ` getting UID/GID of 0 Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).