LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-20-2006, 02:33 AM   #1
christina_rules
LQ Newbie
 
Registered: May 2006
Posts: 25

Rep: Reputation: 15
list all files created by another user


hey...i want to know how can i list files created by another user in linux? pleas help me..thanks
 
Old 05-20-2006, 03:12 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Code:
find / -user <username> -type f
You may have to be root to find them all.
 
Old 05-23-2006, 02:55 AM   #3
christina_rules
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
when i do that, all i get is permission denied. i'm remote accessing a server, is there anything to do with getting permission denied?
 
Old 05-23-2006, 03:06 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You must execute this as user 'root'.
 
Old 05-23-2006, 08:54 AM   #5
christina_rules
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
You must execute this as user 'root'.
do you mean that i have to be user 'root' or to be in root directory?
if i have to be user 'root', how can i do that?
 
Old 05-23-2006, 01:12 PM   #6
Mike Davies
Member
 
Registered: Jul 2004
Distribution: Custom Linux, Buildroot, Busybox, Fedora, Raspberry Pi
Posts: 144

Rep: Reputation: 15
su (but you need the root password)
 
Old 05-23-2006, 09:08 PM   #7
christina_rules
LQ Newbie
 
Registered: May 2006
Posts: 25

Original Poster
Rep: Reputation: 15
alright. thank you for your help
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to list all the files in /tmp directory that have been created or changed. y2k6summi Linux - General 1 03-29-2006 10:21 AM
view list of created users only ALInux Linux - General 5 11-10-2005 01:28 PM
How to list files from a certain user?? Drunkalot Linux - General 1 06-20-2005 05:11 AM
List files owned by user/group guideweb Linux - General 1 09-18-2004 08:18 PM
Saving User-Created Variables feetyouwell Programming 3 02-15-2004 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:07 AM.

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
Open Source Consulting | Domain Registration