Mailinglist Archive: opensuse (2430 mails)

< Previous Next >
Re: [opensuse] Can uids be mapped?
  • From: Anders Johansson <ajh@xxxxxxxxxx>
  • Date: Sat, 19 Apr 2008 13:23:43 +0200
  • Message-id: <200804191323.44056.ajh@xxxxxxxxxx>
On Saturday 19 April 2008 12:37:45 Carlos E. R. wrote:
The Saturday 2008-04-19 at 12:24 +0200, Anders Johansson wrote:
Changing the physical uids is not valid: that would render the linux
system of filesystem A inoperable.

How so? Just change the uid in one of the installs so they both match,
then do a chown. How would that render it inoperable?

Because it is thousands and thousands of files and can not be done in a
pinch.

find . -uid 500 -exec chown 1000 {} \;

[...]

Only the "nobody" can be mapped! The man reads:

The variables allowed in the Mapping section are Nobody-User and
Nobody-Group, which have the same effect as the -U and -G commandline
options.

So it is useless...

You are very quick to brand something useless when you have no idea what it is

idmapd can map between different sets of users, using several different
mapping methods. I agree the docs aren't very extensive, but here is a web
page describing how to do it using ldap

http://www.citi.umich.edu/projects/nfsv4/crossrealm/libnfsidmap_config.html

I still don't think you will find it easy to use this - or any other method -
on your local system. Using different uids on a single machine is just not a
very good idea

Use the above find command, and be done with it

Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >