HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Does AUDIT=SECURITY,ACCESS=DELETE work?
Operating System - OpenVMS
1826604
Members
3603
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-04-2009 01:48 PM
03-04-2009 01:48 PM
Does AUDIT=SECURITY,ACCESS=DELETE work?
Can anyone explain why I am not getting a security audit record when I delete a file that has the ACL:
(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
on it?
$ SHOW SYSTEM/NOPROCESS
OpenVMS V7.3-2 on node AX38 4-MAR-2009 21:30:50
$ SHOW AUDIT /AUDIT
System security audits currently enabled for:
ACL
Authorization
Time
SYSGEN
Audit: illformed
Breakin: dialup,local,remote,network,detached
Logfailure: dialup,local,remote,network,subprocess,detached
QUEUE access:
Failure: submit,manage,delete,control
$ CREATE JUNK.TXT /FDL=NL:
$ SET SECURITY JUNK.TXT -
/ACL=(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
$ DIRECTORY /SECURITY JUNK.TXT
Directory DSKC:[GOODMAN]
JUNK.TXT;1 [STAFF,GOODMAN] (RWED,RWED,RE,)
(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
Total of 1 file.
$ DELETE /LOG JUNK.TXT;1
%DELETE-I-FILDEL, DSKC:[GOODMAN]JUNK.TXT;1 deleted (0 blocks)
$ ANALYZE/AUDIT SYS_COMMON:SECURITY.AUDIT$JOURNAL -
/EVENT=ACCESS /SINCE=21:00
%AUDSRV-W-NOSELECT, no records selected
If I just write to the file I do get an audit record. If I put the same ACL on the directory the file is in, then I get an audit record when I delete the file, but that is because of write access to the directory.
Hard to believe that ACCESS=DELETE audits don't work at all, at least thru VMS 7.3-2.
(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
on it?
$ SHOW SYSTEM/NOPROCESS
OpenVMS V7.3-2 on node AX38 4-MAR-2009 21:30:50
$ SHOW AUDIT /AUDIT
System security audits currently enabled for:
ACL
Authorization
Time
SYSGEN
Audit: illformed
Breakin: dialup,local,remote,network,detached
Logfailure: dialup,local,remote,network,subprocess,detached
QUEUE access:
Failure: submit,manage,delete,control
$ CREATE JUNK.TXT /FDL=NL:
$ SET SECURITY JUNK.TXT -
/ACL=(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
$ DIRECTORY /SECURITY JUNK.TXT
Directory DSKC:[GOODMAN]
JUNK.TXT;1 [STAFF,GOODMAN] (RWED,RWED,RE,)
(AUDIT=SECURITY,ACCESS=WRITE+DELETE+SUCCESS+FAILURE)
Total of 1 file.
$ DELETE /LOG JUNK.TXT;1
%DELETE-I-FILDEL, DSKC:[GOODMAN]JUNK.TXT;1 deleted (0 blocks)
$ ANALYZE/AUDIT SYS_COMMON:SECURITY.AUDIT$JOURNAL -
/EVENT=ACCESS /SINCE=21:00
%AUDSRV-W-NOSELECT, no records selected
If I just write to the file I do get an audit record. If I put the same ACL on the directory the file is in, then I get an audit record when I delete the file, but that is because of write access to the directory.
Hard to believe that ACCESS=DELETE audits don't work at all, at least thru VMS 7.3-2.
I have one, but it's personal.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2009 01:57 PM
03-04-2009 01:57 PM
Re: Does AUDIT=SECURITY,ACCESS=DELETE work?
Never mind..............
Just figured it out - have to use /EVENT=DELETE instead of /EVENT=ACCESS.
Sorry for wasting bandwidth.
Just figured it out - have to use /EVENT=DELETE instead of /EVENT=ACCESS.
Sorry for wasting bandwidth.
I have one, but it's personal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2009 02:48 PM
03-04-2009 02:48 PM
Re: Does AUDIT=SECURITY,ACCESS=DELETE work?
Jess,
> Sorry for wasting bandwidth.
Not waste, it's the accumulation of informative mistakes that brings wisdom.
As we've seen in recent threads, finding the correct ANALYZE/AUDIT query can be difficult (even if it's one of the documented ones!).
Highly targetted ANALYZE/AUDIT commands are great for regular (and debugged) reports, but for casual use, it's usually faster and more reliable to just dump the whole lot!
If in doubt use ANALYZE/AUDIT/FULL/SINCE=time/OUTPUT=file to dump the whole lot and SEARCH the output.
Note although you can PIPE the output into a SEARCH command, you can't use /WINDOW to include text prior to the search string.
> Sorry for wasting bandwidth.
Not waste, it's the accumulation of informative mistakes that brings wisdom.
As we've seen in recent threads, finding the correct ANALYZE/AUDIT query can be difficult (even if it's one of the documented ones!).
Highly targetted ANALYZE/AUDIT commands are great for regular (and debugged) reports, but for casual use, it's usually faster and more reliable to just dump the whole lot!
If in doubt use ANALYZE/AUDIT/FULL/SINCE=time/OUTPUT=file to dump the whole lot and SEARCH the output.
Note although you can PIPE the output into a SEARCH command, you can't use /WINDOW to include text prior to the search string.
A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP