⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 auditmask.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH auditmask 8.SH Nameauditmask \- get or set auditmasks.SH Syntax.B auditmask [ \fIoption ... \fP ][ \fIevent\fP[:\fIsucceed\fP:\fIfail\fP].SH Description.NXR "auditmask command"The.PN auditmaskcommand with no arguments displays the system-calls and trusted-eventscurrently being audited for the system, and displays whetherthey are being audited under successful or failed occurrences or both. The format used for the display is acceptable as input to the.PN auditmaskcommand. .PPThe.PN auditmaskcommand with \fIevent\fP arguments sets the system-call and trusted-eventaudit masks for the system.  This is cumulative operation, so it ispossible to turn on or off audit for one set of events, then turn on oroff audit for a second set of events without changing the first set ofevents (except for intersection between the two sets).  Command linearguments to.PN auditmaskcan include one or more events, each with an optional field:\fIsucceed\fP:\fIfail\fP, where \fIsucceed\fP iseither 0 to specify no auditing of successfuloccurrences of \fIevent\fP, or 1 (or any non-zero character)to specify auditing of successfuloccurrences of \fIevent\fP; and \fIfail\fP is either 0 to specify no auditing of failed occurrences of \fIevent\fP or 1 (or any non-zerocharacter) to specify auditing of failed occurrences of \fIevent\fP. The event name is the system-call name orthe trusted-event name (see \fIaudit.h\fP )..PPThe .PN auditmaskcommand will also accept redirected input, which can be the output of a previously issued.PN auditmaskcommand.  This is a file which contains lines of the format \fIevent [succeed][fail]\fP.If the keyword.I succeed is present, successful occurrences of that event will be audited; if the keyword.I fail is present, failed occurrences of that event will be audited; if both arepresent, successful and failed occurrences will be audited; if neitherkeyword is present, that event will not be audited. .PPThe \fIauditmask\fP command can also be used to set the audit style characteristics of the audit subsystem.  These characteristics control how much information is recorded on \fIexec\fP operations..PPThe.PN auditmask command is used in .PN /etc/rc.local to initialize the auditmask at boot time according to the file .PN /etc/sec/audit_events .  This makes use of privileged operations within the .MS audcntl 2 system call..SH Options.IP \-f  12Turns on full auditing for the system.  This list may include events whichhave no symbolic name and are represented only by a number (reserved forfuture use); these events will not be audited, despite their presence inthe auditmask. .IP \-nTurns off all auditing for the system. .IP "\fB-s \fIaud_style\fR" 12An \fIaud_style\fP of "\fIexec_argp\fP" enables the auditing of the argument list to an .PN execv or .PN execve syscall.An \fIaud_style\fP of "\fIexec_envp\fP" enables the auditing of the environment strings to an .PN execv or .PN execve syscall..SH See Alsoaudcntl(2)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -