tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Giles, Teri" <Giles_T () FRS ! State ! fl ! us>
To: tru64-unix-managers
Subject: Need to change uid of user oracle
Date: Wed, 29 Aug 2001 15:19:35 +0000	[thread overview]
Message-ID: <102653669622177.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-08-29 15:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox