From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669622176.tru64-unix-managers.marc@archive.invalid> From: "Giles, Teri" Date: Wed, 29 Aug 2001 15:15:43 +0000 To: tru64-unix-managers Subject: Changing uid X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669622176 I am running digital 40.d on 2 8400's. I have a filesystem NFS mounted from development to production.. The files written to the filesystem are owned by user oracle. I noticed that the uid for oracle is different on development and production. I want to change the uid of oracle on development to match production. I did a find / -user oracle -print > /tmp/files to get a list of all the files owned by oracle on development. I plan to edit /etc/passwd and change the uid on oracle to match production. then.... Question Can I write a shell script that will read the file containing the list of files currently owned by oracle and change the owner to the new uid? Any suggestions for the syntax of the script, please. Thanks Teri