Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


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

Rep: Reputation: 15
Question Getting users permission

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 ?


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

Rep: Reputation: 45
Something along the lines of (as root)
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.




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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:48 AM.

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