Mail Archives: cygwin/2000/08/09/19:53:49
Hello. Please read my comments between the quotes of the original message.
Thanks for the reply,
Tom Alsberg
----- Original Message -----
From: "Corinna Vinschen" <vinschen AT cygnus DOT com>
To: "Tom Alsberg" <alsbergt AT netvision DOT net DOT il>; "Cygwin Mailing List"
<cygwin AT sourceware DOT cygnus DOT com>
Sent: Thursday, August 10, 2000 12:46 AM
Subject: Re: root's UID
> > Tom Alsberg wrote:
> > >
> > > Hi there...
> > > I would like to ask another question - is it possible to set the
> > > administrator's UID to 0 in Cygwin? I set up a user like this:
> > >
> > >
root::500:513:,U-administrator,S-1-5-21-480600339-950411759-1606240830-500::
> > > /bin/bash
> > > ...
> > Set uid to 0. As long as you are using ntsec that's ok.
Well, on the beginning I had the problem of being logged in as 'everyone'
when I started Cygwin, but then I replaced the two lines of 'root' and
'everyone', and it got me logged in as root. Now the question arises -
doesn't that interfere with operations using the 'everyone' user? And, if
'everyone' has the UID of 0, isn't this some kind of a security leak? I
mean, wouldn't that make (in some plane and sense) everyone a superuser? I
don't understand much about Windows NT's security, but from what I recall,
in Unix/Linux, only superusers have UID 0.
> Uhmm, forgot that: ntsec _and_ the above S-1-XYZ field in pw_gecos.
Yeah, I guessed that...
> > For more information read the ntsec chapter in the online
> > documentation (http://sources.redhat.com/cygwin/docs.html).
I read it when I first downloaded Cygwin, and you're right, it is somehow
explained there, I guess I just didn't completely understand everything on
first read...
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -