Re: Group permissions not respected in sunOS 4.1.3_u1 (SUMMARY)

From: Carl Mason -- Demography Consultant (
Date: Thu Mar 02 1995 - 18:33:36 CST

The problem: users suddenly lost the ability to access files and directories
when group permissions were set 770 and the user was in the appropriate

complicating factors: We run rpc.pwauthd for password shadowing, and we have
two NIS domains. The two domains share everything except a couple of amd
maps. The problem occurred in only ONE of the two domains,

The cause: apparently netid maps cannot be shared in this situation (very
surprising in light the fact that we had been doing this happily for some

The solution:

The solution was to make the map separately for each
domain. I did this on one master server (since we only have one master
server) but to make it work I needed to run domainname between executions
of mknetid. That is, the server had to be bound to the domain for which it
was presently creating the netid map. And that did it--with the minor
complication that users must logout and back in in order to see the
effects apparently login talks to netid.

With solution in hand, two mysteries remain:
(1) why did it ever work and
(2) mknetid expects a file called netid referenced with the -m flag. Here is
the line from Makefile:

        @$(MKNETID) -q -p $(DIR)/passwd -g $(DIR)/group\
 -h $(DIR)/hosts -m $(DIR )/netid > .ypjunk;

I could not find a man page for mknetid so I have no idea what that file
does. On our system it's just a 0byte.

Many thanks to Tony Heskett.

--Carl Mason

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT