Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!haven!aplcen!jhunix!doug From: doug@jhunix.HCF.JHU.EDU (Douglas W O'neal) Newsgroups: comp.unix.questions Subject: Re: changing gid and uids Message-ID: <5123@jhunix.HCF.JHU.EDU> Date: 2 May 90 15:49:17 GMT References: <11615@unix.SRI.COM> <1397@ns-mx.uiowa.edu> Reply-To: doug@jhunix.UUCP (Douglas W O'neal) Organization: The Johns Hopkins University - HCF Lines: 12 In article <1397@ns-mx.uiowa.edu> emcguire@cadfx.ccad.uiowa.edu (Ed McGuire) writes: > find $homedir -user $olduid -group $oldgid -print\ > -exec chown $newuid.$newgid '{}' ';' You should also remember to change /var/spool/mail/username to be owned by the new uid.gid. -- Doug O'Neal, Distributed Systems Programmer, Johns Hopkins University doug@jhuvms.bitnet, doug@jhuvms.hcf.jhu.edu, mimsy!aplcen!jhunix!doug Like many of the features of UNIX, UUCP appears theoretically unworkable... - DEC Professional, April 1990