[Linux-disciples] Ownership weirdness related to NIS

Dylan Thurston dpt at lotus.bostoncoop.net
Tue Jun 1 18:00:04 EDT 2004


On Tue, Jun 01, 2004 at 05:33:15PM -0400, Stephen R Laniel wrote:
> I had a very frustrating day trying to get a client's Linux
> and Mac machines working with one another. They're all using
> NIS, including the Macs, so there should be no problems with
> the usernames; the usernames all come out of one NIS server.
> Yet for instance, when I tried to set the owner of a file
> on one client to 'root:admins' (where I had defined 'admins'
> on the NIS server and had propagated the changes to all the
> clients), then did an 'ls', it appeared that the file's
> owner was 'root:robbins'. Now, 'robbins' is a member of
> 'admins', but I'm inclined to believe that that's just
> coincidental. Instead, I'm willing to bet (without having
> looked at it yet) that 'robbins' has the same GID on the
> client as 'admins' has on the server. Could that be the
> case?

I don't know what's going on, but I bet 'ls -ln' will help you
diagnose it...

> So: shouldn't NIS have corrected all these sorts of
> problems? Isn't the very *point* of NIS to get around
> UID/GID mismatches? I must have misconfigured something. If
> someone knows NIS well, I'd love to hear what you'd do in a
> case like this.

NIS should correct mismatches, but there may also be local entries
that override the NIS ones.

Peace,
	Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040601/8a94ff55/attachment.pgp


More information about the Linux-disciples mailing list