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

Re: LSB specification for adding users and groups



-----BEGIN PGP SIGNED MESSAGE-----


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.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN2faLI2+iKf+FgzlAQFY2gQAuldiGOFPM6YkR1qOmFXTOqfV3sHvAh2Q
7gYAW8C9EDqE8AM9odJqBOGCAcL/ZbtjggzUSyl4FEjQxGQuPYcNGXGeKL1gYS2Y
yLTGHHxdQ2rae13kR7nwsz5tw9Mosbgz/s+ZUZacfN15lsAiv8KDRRJUTZ4u0hfC
4pdu+rpA3XQ=
=J25o
-----END PGP SIGNATURE-----


Reply to: