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

Re: Admin Questions



In foo.debian-user, you wrote:
> This is a bit off topic but the knowledege seems to be here so what the
> heck. When I did the Deb install I used the existing /home and swap
> areas from a RedHat installation residing on the same disk. I thought I
> would be able to use my /home/dan directory in Debian or RedHat. When I
> used adduser to create the account under Debian It recognized that the
> /home/dan directory existed and didn't overwrite it. The problem is that
> I don't have permissions for the directory from the debian account. The
> RedHat end is still fine. How should this be done? TIA

Debian starts numbering user ids at 1000, where RH does it at 500.
I had to install Debian sharing a home drive with 2 RH machines, and
lowered the UID on the Debian box to match the RH UID.

This may cause me problems later, but has worked OK for now.
It may be better to  change the RH UID to match the debian one,
then do a (as root)

find / -uid <OLDRHUID> -print -exec chown <NEWRHUSER> {} \; >seewhatchanged.txt

-Mitch


Reply to: