10 More Discussions You Might Find Interesting
1. AIX
Hi All
I need your help to configure Aix to send logs to Qradar, I did all the methods that mentioned in IBM website and no use, Plz Help,,
The Logs should I receive from Aix and display in Qradar is (create user delete user changing in privileges....etc )
my skype account
khaled_ly84
... (4 Replies)
Discussion started by: khaled_ly84
4 Replies
2. AIX
I am trying to find out the information of my local desktop when i use putty to login to an AIX server.
This is what I do:
1. login to my PC
2. take a putty session to an AIX server
Can i get information of my local desktop from the AIX server ? Is there a command available ?
Thanks (8 Replies)
Discussion started by: Nagesh_1985
8 Replies
3. AIX
In our customer place somebody removed and PV from the server. I want the information like which user removed this PV.
Is there any way to get PV removal information.
When did the PV removed from the server ?
Whether AIX auding will help ?
Where i can get these information ?
Thank... (2 Replies)
Discussion started by: sunnybee
2 Replies
4. Shell Programming and Scripting
Hi, there!
a long PATH... makes the OS access the disk quite often, hence there is a lot of disk I/O
a long PATH... makes the OS compute a lot of ..., hence a high CPU load
(Edited/added later: Yes, this is not about the lenght of the env. var., but about the number of directories listed.)... (1 Reply)
Discussion started by: Jochen_Hayek
1 Replies
5. UNIX for Advanced & Expert Users
Hello,
I am doing fluid simulations using OpenFOAM. This program produces a lot of output every time step.
Producing output is surely not the most time consuming part, but I wonder whether writing output to the terminal or writing it into a file is faster.
With thousands of time steps a... (1 Reply)
Discussion started by: Chuck Morris
1 Replies
6. AIX
can some give some tips, most common security issues or and kind of advice about auditing aix system?
regards (2 Replies)
Discussion started by: bongo
2 Replies
7. AIX
Hi All,
i've a problem on a AIX server with audit config...
when i start the audit i receive this error:
root@****:/etc/security/audit > /usr/sbin/audit start
Audit start cleanup: The system call does not exist on this system.
** failed setting kernel audit objects
I don't understand... (0 Replies)
Discussion started by: Zio Bill
0 Replies
8. AIX
i have sucessfully enable the auditing on AIX with adding som onjects.
but when i go for
auditpr -v < /audit/trail
vlets say i reset audit at last dat 5 pm
auditpr -v < /audit/trail
will show up to last day 5 pm.
i have to reset audit every time to check latest logs.
please... (3 Replies)
Discussion started by: prashantjain07
3 Replies
9. AIX
I have a question relating with AIX auditing Question is can we set Auditing on a particular file in AIX for a particular application only?
Let say I have a file name "info.jar" and I have three application named APP1, APP2 & APP3 which are accessing that file so I want to know that which... (0 Replies)
Discussion started by: m_raheelahmed
0 Replies
10. AIX
Hi,
What's the best way to turn on the auditing in AIX 4.3? I'm in an environment where root password are shared with many users.
Can sudoers member be audited properly?
Thanks (1 Reply)
Discussion started by: itik
1 Replies
audctl(2) System Calls Manual audctl(2)
NAME
audctl() - start or halt the auditing system and set or get audit files
SYNOPSIS
Remarks
This function is provided purely for backward compatibility. HP recommends that new applications use the command to configure the auditing
system. See audsys(1M).
DESCRIPTION
sets or gets the auditing system "current" and "next" audit files, and starts or halts the auditing system. This call is restricted to
processes with the privilege. cpath and npath hold the absolute path names of the "current" and "next" files. mode specifies the audit
file's permission bits. cmd is one of the following specifications:
The caller issues the
command with the required "current" and "next" files to turn on the auditing system. If the auditing system is cur-
rently off, it is turned on; the file specified by the cpath parameter is used as the "current" audit file, and the
file specified by the npath parameter is used as the "next" audit file. If the audit files do not already exist,
they are created with the mode specified. The auditing system then begins writing to the specified "current" file.
An empty string or NULL npath can be specified if the caller wants to designate that no "next" file be available to
the auditing system. If the auditing system is already on, no action is performed; is returned and is set to
The caller issues the
command to retrieve the names of the "current" and "next" audit files. If the auditing system is on, the names of
the "current" and "next" audit files are returned via the cpath and npath parameters (which must point to character
buffers of sufficient size to hold the file names). mode is ignored. If the auditing system is on and there is no
available "next" file, the "current" audit file name is returned via the cpath parameter, npath is set to an empty
string; is returned, and is set to If the auditing system is off, no action is performed; is returned and is set to
The caller issues the
command to change both the "current" and "next" files. If the audit system is on, the file specified by cpath is
used as the "current" audit file, and the file specified by npath is used as the "next" audit file. If the audit
files do not already exist, they are created with the specified mode. The auditing system begins writing to the
specified "current" file. Either an empty string or NULL npath can be specified if the caller wants to designate
that no "next" file be available to the auditing system. If the auditing system is off, no action is performed; is
returned and is set to
The caller issues the
command to change only the "current" audit file. If the audit system is on, the file specified by cpath is used as
the "current" audit file. If the specified "current" audit file does not exist, it is created with the specified
mode. npath is ignored. The auditing system begins writing to the specified "current" file. If the audit system is
off, no action is performed; is returned and is set to
The caller issues the
command to change only the "next" audit file. If the auditing system is on, the file specified by npath is used as
the "next" audit file. cpath is ignored. If the "next" audit file specified does not exist, it is created with the
specified mode. Either an empty string or npath can be specified if the caller wants to designate that no "next"
file be available to the auditing system. If the auditing system is off, no action is performed; is returned, and is
set to
The caller issues the
command to cause the auditing system to switch audit files. If the auditing system is on, it uses the "next" file as
the new "current" audit file and sets the new "next" audit file to cpath, npath,and mode are ignored. The auditing
system begins writing to the new "current" file. If the auditing system is off, no action is performed; is returned,
and is set to If the auditing system is on and there is no available "next" file, no action is performed; is
returned, and is set to
The caller issues the
command to halt the auditing system. If the auditing system is on, it is turned off and the "current" and "next"
audit files are closed. cpath, npath, and mode are ignored. If the audit system is already off, is returned and is
set to
Security Restrictions
Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege.
Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about
privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, a value of is returned. Otherwise, is returned and the global variable is set to indicate the error.
EXAMPLES
In the following example, is used to determine whether the auditing system is on, and to retrieve the names of the audit files that are
currently in use by the system.
char c_file[PATH_MAX+1], x_file[PATH_MAX+1];
int mode=0600;
if (audctl(AUD_GET, c_file, x_file, mode))
switch ( errno ) {
case ENOENT:
strcpy(x_file,"-none-");
break;
case EALREADY:
printf("The auditing system is OFF
");
return 0;
case default:
fprintf(stderr, "Audctl failed: errno=%d
", errno);
return 1;
}
printf("The auditing system is ON: c_file=%s x_file=%s
",
c_file, x_file);
return 0;
ERRORS
fails if one of the following is true:
The caller does not have the
privilege, or one or both of the given files are not regular files and cannot be used.
The or cmd was specified while the auditing system is off.
User attempt to start the auditing system failed
because auditing is already on.
Bad pointer. One or more of the required function parameters is not accessible.
The cpath or npath is greater than in length, the cpath or npath specified is not an absolute path name.
No available "next" file when
cmd is or
AUTHOR
was developed by HP.
SEE ALSO
audomon(1M), audsys(1M), audit(5), privileges(5).
TO BE OBSOLETED audctl(2)