LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-22-2005, 04:38 PM   #1
phoenix99
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Slackware 10.2 KDE 3.4
Posts: 43

Rep: Reputation: 15
Question Getting users permission


Hi,
I don't know if this place is right for this post...
I want to know if it's possible ot list all directory and permission a user have on my computer.
I want to list what a user can execute or which directory he/she can access and his permission (rwx)
Anyone know if a apps exist for this kind of listing or a simple bash script can be done ?

Thanks

Phoenix99
 
Old 02-22-2005, 05:36 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Something along the lines of (as root)
Code:
find -user 'foobar' -perm +550 -ls
should do the trick. If you use the printf option of find, then you'll be able print exactly the output you want, and perhaps group it into readable, writable and executable by username.

Cheers,

mj
 
  


Reply


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
giving users permission to mount a CD ricardo_ok Slackware 4 11-03-2005 12:58 PM
printer permission to users rouzbeh58 Linux - Newbie 1 08-22-2004 02:58 PM
Permission for normal users Vizy Linux - General 1 03-16-2004 11:39 AM
permission to cdrom for users joshua Linux - Newbie 2 03-11-2004 02:27 PM
giving users permission to mount dai Linux - General 2 08-02-2002 02:12 AM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
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