Re: again security proposal

Aaron M. Ucko (amu@mit.edu)
29 Dec 1997 16:34:57 -0600


Dale Amon as Operator <root@starbase1.gpl.net> writes:

> You wrote:
> > 'chown -R user /home/user' is something an administrator
> > should NOT do. It is an anti-security measure to give away
>
> How would you handle it then, if you move a user from one
> system to another? There is even the possibility that they
> had a different user name, let alone uid on the old system.
> If you bring in a tree of many thousands of files, just
> how *are* you going to sort out their problem? And remember,
> you can only spend about 2 minutes on it because you've
> a back log of other things that have to be done *right now*...

As somebody already mentioned:

find / -uid [olduid] | xargs chown [newuid]

is the Right Thing to do here. Think about it.

-- 
Aaron M. Ucko <amu@mit.edu> (finger amu@monk.mit.edu) [Stark raving sane]