getting UID/GID of 0

John Bäckstrand
Mon Dec 3 23:56:00 GMT 2001

I am trying to install debian-cygwin:
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.





Any clues or advise?

John Bäckstrand

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list