This is the mail archive of the cygwin-patches@cygwin.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]
Other format: [Raw text]

Re: ntsec odds and ends


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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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