[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Redhat to Debian: migrating a multi-user server



--- Ernest Johanson <ejohan@fuller.edu> wrote:
[snip]

> One idea might be to do a search and replace on the
> passwd file, placing a
> 1 (or 2, etc) in front of the existing user id. That
> would necessitate
> changing the ids on the user's files. I had a
> similar situation and wrote
> a Perl script to read the passwd file and change the
> ownership, 
> permissions, etc. It would need to be tweaked a
> little, but if you want I
> can send it to you.

I would love to take a look at your script.  But I
have one question:  why do the IDs on the users' files
need to be changed?  It seems that files are owned and
permissioned to user _names_ not uids.  If for example
a file is owned by a user named "luser", after
debianizing his redhat uid from 550 to 1550, that file
would still be owned by the same username, even though
his uid has changed, and nothing further would have to
be done. Am I wrong?

Thanks for your response,
Belloc

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Reply to: