ntsec odds and ends

Corinna Vinschen cygwin-patches@cygwin.com
Thu Feb 6 17:47:00 GMT 2003


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.



More information about the Cygwin-patches mailing list