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

Re: LSB specification for adding users and groups


On Wed, 16 Jun 1999, V man wrote:

> >That's fine, but migration is going to be extremely difficult.
> ok, that is the real problem. How could i migrate an old system?
> and how could i make an old system convive with a new one?
> transition, as i can see, will be very slow.
> don't you agree?

Why is conversion of old systems so difficult?  If mail changed from uid 8
to uid 7, for example, wouldn't:

find -uid 8 -exec chown mail \{\} \;
find -gid 8 -exec chgrp mail \{\} \;

do the trick?  After changing mail from 8 to 7 in the passwd files, of
course.  There would also have to be checks to make sure that things were
done in the right order.  For example if uid 7 used to be the lp user,
you'd have to move the lp owned files first.  You might have to move some
system accounts to unused temporary uids in some cases (for example if the
uids for mail and lp were just switched).

I'm assuming that there aren't any programs that actually use the uid
itself instead of the uname.  If that is a false assumption, then there
would be problems alright.  :)

Steve Tonnesen.

Version: 2.6.3ia
Charset: noconv


Reply to: