Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing File ownership

Status
Not open for further replies.

rsebasti

Technical User
May 15, 2002
112
AU
Whenever I delete a user account from NDS all related files owned by the account will be passsed to supervisor.

Whenever I clean up 'to be deleted' accounts I now have to check the files they've used and check with the old users' manager who should acquire these files. Then I tell them to copy the old files and delete the original to pass on ownership.

There must be a quicker way.

Any ideas on removing users? Passing ownership to another account? ========================================
I learnt the most
when I stopped talking...
 
I go through this task on an almost daily basis. Unfortunatly, there is not a thing that can be done about that.

It's a known thing... When you delete a User, it DOES NOT delete the User's Home Directory structure. That has to be done manually. Whether you copy it somewhere else or delete it is up to you.

Good Luck!
 
sal,
If you only have home drives to worry about then I am on a worse boat than you. My users have departamental share drives where they share files. Which means they can have files all everywhere.

I have the facility to gather the information regarding their files but I need a command or even a comman line that can transfer file ownership from one person to another.

If a command line that does this exists I can start scripting. ========================================
I learnt the most
when I stopped talking...
 
The FLAG command can list all files with a given owner. It can also change the ownership of files. Instead of deleting the user, disable the account, then change the ownership with FLAG, then delete the user.
 
Ohhh, now I understand what you are after.

Here's what ya need to do...

From a DOS Prompt, you can use the FLAG command. The following syntax should work...

FLAG *.* /OWNER=XXX

To determine which files are owned by a particular User, try this...

FLAG *.* /NAME=XXX

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top