Group: comp.os.linux.networking
From: Paul Black
Date: Friday, March 07, 2008 12:10 AM
Subject: Re: NIS: set default umask

On Mar 7, 1:09=A0am, Ken Teague <"kteague at pobox dot com"> wrote:
> If I edit /var/yp/Makefile and input:
> =A0 =A0 UMASK =3D umask 022
> ... will that set the default umask for all users/systems on the NIS
> network?

I'm guessing (since I don't have NIS on my machine) that that would
set the umask for the NIS files only.


> If so, is there anything that can override this setting on a per
> user/system basis?

Per system: look in /etc/profile.d and place a umask in the csh/sh
files.


> If so, is there anything else I can do to prevent the override?

If you mean preventing a user from setting their own umask? Probably
not.

Paul