On Wed, Feb 21, 2001 at 11:24:42PM +1100, Jon Biddell wrote:
> Assume we have two machines, A and B, running the same version of Linux.
>
> A is a workstation, B is a server (with Samba share for the Mrs)
>
> On A, user 1 has a UID of 500, user 2 has a UID of 501
> On B, user 1 has a UID of 501, user 2 has a UID of 500
>
> When user 1 goes to B:/home/user1, all files are owned by user1:users.
>
> When you TELNET to B from A, user1's files are suddenly owned by user2 ?
>
> Que ??
>
> I didn't think UID's mattered across NFS mounts ?
This is your first mention of NFS. Are you really using NFS
(which passes numerical UIDs between machines, on the assumption
that they're in an NIS-controlled domain) or are you using Samba
(SMB), as described in the first paragraph? SMB doesn't do user
IDs on files at all, but the SMBFS will say that everything
belongs to the user, or whatever you tell it when you mount the
drive.
Telnet isn't a fill access mechanism, but it identifies the user
to the other machine with a text user name (during login), and
so the remote machine is doing the name->UID lookup.
--
Andrew
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug