This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: root's UID


  Hello. Please read my comments between the quotes of the original message.

  Thanks for the reply,
  Tom Alsberg

----- Original Message -----
From: "Corinna Vinschen" <vinschen@cygnus.com>
To: "Tom Alsberg" <alsbergt@netvision.net.il>; "Cygwin Mailing List"
<cygwin@sourceware.cygnus.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]