Subject: NIS uid and gid remapped to 0?
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 08/23/2002 14:16:12
Hi!

Is this really correct?

ROOT dhcp118:~> uname -r
1.6_RC1

ROOT dhcp118:~> tail -1 /etc/master.passwd
+:::::::::

ROOT dhcp118:~> tail -1 /etc/passwd
+:*:0:0:::

According to passwd uid and gid is remapped to 0 for all NIS users...

I think in real life this is not the case as passwd is just generated
from master.passwd and not used by the getpwent routines.

Still looks like we have a bug in pwd_mkdb. Or am I missing something?

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
http://www.iki.fi/kuparine/                     http://www.netbsd.org/