LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Closed Thread
 
Search this Thread
Old 03-20-2009, 05:08 PM   #1
KnightHawk
Member
 
Registered: Sep 2005
Posts: 128

Rep: Reputation: 15
Need Script to own files owned by deleted users


Anyone have a script handy or can think of a way to own files in a directory that were once owned by users who have been deleted?

I do not want to take ownership of files of active users thus can't just chown root.users. But want to take ownership of files marked "1256.users" where 1256 used to be someone who is now gone.
 
Old 03-20-2009, 05:11 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Script to own files owned by deleted users KnightHawk Linux - Server 2 03-20-2009 06:48 PM
Find the space for files owned by specific users sahil.jammu Linux - Newbie 15 03-04-2009 02:15 PM
root-owned file is able to be deleted with my non-root account win32sux Linux - Security 3 11-18-2008 03:00 AM
all users have access to root owned files sakatola Linux - Security 2 07-22-2005 01:45 AM
Samba logs files deleted by users?? Goma_2 Linux - Software 0 09-22-2003 07:37 AM


All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration