* [gentoo-user] nfs sharing: same user name, but different user id.
@ 2006-03-03 8:35 Robert Persson
2006-03-03 13:20 ` Boyd Stephen Smith Jr.
2006-03-03 14:25 ` Uwe Thiem
0 siblings, 2 replies; 3+ messages in thread
From: Robert Persson @ 2006-03-03 8:35 UTC (permalink / raw
To: gentoo-user
I am trying to export nfs shares from the linux box to a mac and vice-versa.
The trouble is that. although there are users on each box with the same name,
they have different numeric user IDs. For instance user robert on the linux
box has userid 1000 but on the mac robert has userid 502. This means that
users on one machine can't write to their home directories on the other
machine.
Is there any facility within nfs to map users to other userids (beyond that
needed for root-squashing)?
Or failing that, is there a way to change the user ids on one of the machines
without making a big mess?
Many thanks
Robert
--
Robert Persson
Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] nfs sharing: same user name, but different user id.
2006-03-03 8:35 [gentoo-user] nfs sharing: same user name, but different user id Robert Persson
@ 2006-03-03 13:20 ` Boyd Stephen Smith Jr.
2006-03-03 14:25 ` Uwe Thiem
1 sibling, 0 replies; 3+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-03 13:20 UTC (permalink / raw
To: gentoo-user
On Friday 03 March 2006 02:35, Robert Persson <ireneshusband@yahoo.co.uk>
wrote about '[gentoo-user] nfs sharing: same user name, but different user
id.':
> Is there any facility within nfs to map users to other userids (beyond
> that needed for root-squashing)?
There's all_squash, along with a way to choose what numeric id users are
squashed to.
Also, I believe there's idmapd which should be able to do an arbitrary
mapping.
> Or failing that, is there a way to change the user ids on one of the
> machines without making a big mess?
Go down to single-user mode and change owners at the same time you
edit /etc/passwd and you should be fine, I think.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] nfs sharing: same user name, but different user id.
2006-03-03 8:35 [gentoo-user] nfs sharing: same user name, but different user id Robert Persson
2006-03-03 13:20 ` Boyd Stephen Smith Jr.
@ 2006-03-03 14:25 ` Uwe Thiem
1 sibling, 0 replies; 3+ messages in thread
From: Uwe Thiem @ 2006-03-03 14:25 UTC (permalink / raw
To: gentoo-user
On 03 March 2006 10:35, Robert Persson wrote:
> I am trying to export nfs shares from the linux box to a mac and
> vice-versa. The trouble is that. although there are users on each box with
> the same name, they have different numeric user IDs. For instance user
> robert on the linux box has userid 1000 but on the mac robert has userid
> 502. This means that users on one machine can't write to their home
> directories on the other machine.
>
> Is there any facility within nfs to map users to other userids (beyond that
> needed for root-squashing)?
idmapd
Uwe
--
Why do consumers keep buying products they will live to curse?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-03 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 8:35 [gentoo-user] nfs sharing: same user name, but different user id Robert Persson
2006-03-03 13:20 ` Boyd Stephen Smith Jr.
2006-03-03 14:25 ` Uwe Thiem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox