- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file permissions
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
Forums
Discussions
Discussions
Discussions
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
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
11-19-2002 10:00 PM
11-19-2002 10:00 PM
Is it possible to find when the file permissions are changed,
Is there any Good Utility ot script which monitors the file system, and intimates when file size changes or file permissions changes.
ALso is there any way i can know when the file was last modified
regards
chakri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 10:15 PM
11-19-2002 10:15 PM
Re: file permissions
Visit this site
http://www.ugu.com/sui/ugu/show?I=software.security&F=1111111111&G=Y
you will find a lot of such tools
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 10:26 PM
11-19-2002 10:26 PM
Re: file permissions
tripwire, samhain, ..
there are a lot of tools
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 10:32 PM
11-19-2002 10:32 PM
Re: file permissions
tripwire, samhain, ...
there are a lot of tools (for free)
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 12:02 AM
11-20-2002 12:02 AM
Re: file permissions
You could utilise 'swverify'. What this does is look at the permissions of the file and look to see what it was originally when it was installed. To find when is a little difficult after the event, but if you had this in a script that ran frequently through 'cron' then you could see when. Have a look at the man page for further information, as well as doing a search in here for 'swverify'.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 12:20 AM
11-20-2002 12:20 AM
Re: file permissions
Chuck J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 12:42 AM
11-20-2002 12:42 AM
SolutionIf you wnat just a simple prog, compile this one (save as xxx.c, "make xxx")
Regards,
Jean-Louis.
#include
#include
#include
#include
dispdate(lib, t)
char *lib;
time_t *t;
{
char buf[BUFSIZ];
strftime(buf, sizeof(buf), "%c", localtime(t));
printf(" %-20.20s : %s\n", lib, buf);
}
main (argc, argv)
int argc;
char *argv[];
{
struct stat bufstat;
if (stat(argv[1], &bufstat) != 0)
{
perror("stat");
exit(1);
}
printf("File '%s' :\n", argv[1]);
dispdate("Last access", &(bufstat.st_atime));
dispdate("Last modification", &(bufstat.st_mtime));
dispdate("Last attr change", &(bufstat.st_ctime));
}