nsswitch.conf file always corrupts somehow. I do restore from my backup every time it corrupt.
When this file corrupts, its time stamp is changing. Now I wonder if there is a way to track that file ? I'd like to know which process or maybe user cause that corruption. Is there a way to do that ?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
| show 2 more comments |
|
You could either set up auditing or use DTrace. There are various examples how to use it to monitor file access on the interwebs, for example here. |
|||
|
|

inotify? See the questions tagged inotify (or better search for them). – manatwork Mar 12 '12 at 9:52