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
Received on Wed Aug 29 2001 - 15:20:34 NZST