Renumbering UIDs and GIDs?
Jerry Feldman
gaf at blu.org
Wed May 22 15:19:11 EDT 2002
Yes, that is true. Also, changing ownership requires that you be root.
find / -uid $olduid -exec chown $newuid {} \;
I would suggest that you proceed by first creating the new userid and new
group id.
On 22 May 2002 at 14:50, Ron Peterson wrote:
>
> > > > If you cannot conquer your fears,
> > > >
> > > > find / -gid $oldgid -exec chgrp $newgrp {} \;
>
> Yeah, but just make sure that $newgrp doesn't already own files for which you
> also want to change ownership.
--
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
More information about the Discuss
mailing list