- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to find out access of files and directory ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 06:54 PM
тАО01-27-2006 06:54 PM
is there a way to find out, a particular file or directory is being accessed by how many users ?
or which user is accessing the files or directories ?
thanks,
shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 07:02 PM
тАО01-27-2006 07:02 PM
Re: how to find out access of files and directory by users
ll -u -> access time
ll -t -> modification time
but you won't get who accesses it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 07:08 PM
тАО01-27-2006 07:08 PM
Re: how to find out access of files and directory by users
You can access the timestamp of various accesses using ll but not the usernames who has done that.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 07:55 PM
тАО01-27-2006 07:55 PM
Re: how to find out access of files and directory by users
you cannot do this unless you use third party tools.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 07:57 PM
тАО01-27-2006 07:57 PM
Re: how to find out access of files and directory by users
you cannot do this unless you use third party tools.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 09:19 PM
тАО01-27-2006 09:19 PM
SolutionYou mean to say, how many users accessed a file "x" by given time, just like "hit rate"? I dont think it is possible to find out unless or untill you use custom softwares.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2006 02:25 AM
тАО01-28-2006 02:25 AM
Re: how to find out access of files and directory by users
In addition, if you want to "audit" the usage of some files or directories, you may want to take a look at HIDS, free HP Host Intrusion Detection System. I'm using an old version of HIDS to be warned about any modification under /etc/rc.config.d/*, /etc/passwd, /etc/group, etc. You can use it to monitor the access on your files. It will tell you what user did what and when.
Hope this helps.
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 05:10 PM
тАО01-29-2006 05:10 PM
Re: how to find out access of files and directory by users
You can use tools like Tripwire to audit files and directories accessed by any users.
http://sourceforge.net/projects/tripwire/
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 05:12 PM
тАО01-29-2006 05:12 PM
Re: how to find out access of files and directory by users
1) Converting your system to trusted one
2) Enabling HISTORY Logging
3) Writing SHELL wrappers to all system binaries to log into log file.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:09 PM
тАО01-29-2006 09:09 PM
Re: how to find out access of files and directory by users
to see who are using a file now type:
fuser -a
man fuser for other info.
You can write a script which perform fuser evry x time.
HTH,
Art