This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: ntsec odds and ends
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Corinna Vinschen <cygwin-patches at cygwin dot com>
- Date: Thu, 6 Feb 2003 13:10:33 -0500 (EST)
- Subject: Re: ntsec odds and ends
- Reply-to: cygwin-patches at cygwin dot com
On Thu, 6 Feb 2003, Corinna Vinschen wrote:
> On Thu, Feb 06, 2003 at 11:37:16AM -0500, Igor Pechtchanski wrote:
> > +<para>
> > +If a user or group is not present in <filename>/etc/passwd</filename> (or
> > +if a group is not present in <filename>/etc/group</filename>), it will have
> > +a special user/group id of -1 (which would be shown by <command>ls</command>
> > +as 65535). In releases of Cygwin before 1.3.20, the user/group name shown
> > +was '????????'. Since Cygwin release 1.3.20, the name of a user with no
> > +entry in <filename>/etc/passwd</filename> will be shown as `mkpasswd', and
> > +the name of a group not in <filename>/etc/group</filename> will be shown as
> > +`mkgroup', indicating the commands that should be run to alleviate the
> > +situation.
>
> Weeell... that's not quite correct, unfortunately.
>
> - If the current user doesn't show up in /etc/passwd, it's *group* will
> be named "mkpasswd".
>
> - Otherwise, if the login group of the current user isn't in /etc/group,
> it will be named "mkgroup".
>
> - otherwise a group not in /etc/group will be shown as "????????"
> and a user not in /etc/passwd will be shown as "????????".
>
> Nevertheless, thanks for the effort :-)
> Corinna
Corinna,
No problem, I'll rewrite this (after actually looking at the code this
time). However, at least on my machine, most of the files, especially in
/cygdrive/c, are owned by the Administrators group. If it's not in
/etc/passwd, most files show up with "????????" for the user, which is not
very informative...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune