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

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



The system uses the underlying user ids to identify files rather than the
user names. Run ls -ln to see the ids instead of the names. 

Ernest Johanson
Web Systems Administrator
Fuller Theological Seminary


On Fri, 15 Dec 2000, B. Dragoo wrote:

> Date: Fri, 15 Dec 2000 10:37:59 -0800 (PST)
> From: B. Dragoo <chesterbelloc@yahoo.com>
> To: Ernest Johanson <ejohan@fuller.edu>
> Cc: debian-user@lists.debian.org
> Subject: 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: