Sponsored Content
Special Forums Cybersecurity Log remote execution over SSH Post 302559952 by frank_rizzo on Wednesday 28th of September 2011 01:44:04 PM
Old 09-28-2011
if you want to monitor a users activity you should use the audit subsystem.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

remote execution

Hi everybody, sorry if the question will be too trivial for some of you, but I'm not a unix shell programmer expert. I need to write a script that allows me to rlogin to another machine, check the load (cpu and mem usage) of the new machine, start a process (that will run in the background) and... (5 Replies)
Discussion started by: ragmelo
5 Replies

2. AIX

remote execution

good morning I would like copy and execute a shell script on a remote server telnet is not autorize, so i use ssh: scp to copy and ssh to execute But with the scp, the permissions are not saved and the file 's permission on the remote server is r--r--r-- , so i can't execute it Can you help... (2 Replies)
Discussion started by: pascalbout
2 Replies

3. Shell Programming and Scripting

Remote command execution

We have multiple Unix servers and a particular command can only be executed in one of the box from a specific path. I have password-less ssh set up for all the boxes. I am unsure the command to use to execute that particular command from any other box. To be specific say program named _my_exe_ can... (4 Replies)
Discussion started by: uunniixx
4 Replies

4. Shell Programming and Scripting

ssh can't back from remote host during script execution

Hi all I wrote a script to execute a script on several remote hosts, but somehow during the execution of the local script, ssh can't come back from the remote host, so that causes my local script hanging... I use the below command to do the job in the local script, any idea? ssh... (12 Replies)
Discussion started by: bzylg
12 Replies

5. Shell Programming and Scripting

help with remote execution of a script

does anyone know how can i execute a script which i locally run as " . /etc/local/host/src.srvr -D ." need to execute above command in rexec command. if i put the command as it is it does not run. Sorry but i am naive in scripting. Thanks rexec sgplqim -l vau -n ' ' (0 Replies)
Discussion started by: NK4U
0 Replies

6. Shell Programming and Scripting

Logging Remote SSH command (cannot log a java output)

Hi all I'm creating a script that runs a few commands on some boxes and everything can be logged EXCEPT the java -version command, there doesn't seem to be any output... Can anyone help explain why this does not work? Do I need to do something extra to append the output from the java... (3 Replies)
Discussion started by: Keepcase
3 Replies

7. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

8. HP-UX

Remote ssh execution and .profile issues

Greetings, i'm currently having issues in successfully executing a script from one server to other, and i'm cracking my nut in understanding why. Let's get started with the default info: Server A: briozzo@A:/home/briozzo $ uname -a HP-UX A B.11.31 U ia64 2787251109 unlimited-user license ... (3 Replies)
Discussion started by: nbriozzo
3 Replies

9. Shell Programming and Scripting

Pause processes in remote host and resume execution in another remote host

Hi, Given addresses of 2 remote machines, using a shell script is it possible to get the state of running processes in "src" stop all the processes in "src" exit out of "src" ssh into "dest" resume the state of executing processes captured in step 1 in "dest" Assumption: "src" is... (3 Replies)
Discussion started by: Saeya Darsan
3 Replies

10. Shell Programming and Scripting

Remote script over ssh execution issues.

If I execute below code I am able to get string from column8 and column10 about a process. serverA1$> ps -ef | grep rotate | grep 'config' | awk '{print $8" "$10}' /<Oracle_home>/ohs/bin/odl_rotatelogs -h:/<app_Home>/config/OHS/ohs1/component_events.xml_ohs1... (12 Replies)
Discussion started by: kchinnam
12 Replies
auditconfig(8)						      System Manager's Manual						    auditconfig(8)

NAME
auditconfig, audit_setup - Audit subsystem configuration graphical interface (Enhanced Security) SYNOPSIS
/usr/sbin/sysman auditconfig NOTE: The audit_setup utility has been replaced by the auditconfig graphical interface. DESCRIPTION
The graphical user interface is used interactively to establish the audit environment on your system. The interface can be selected from the Sysman menu, syman_station (including PC clients), or it can be started from the command line. See the sysman(8) and syman_station(8) reference pages for more details. If a kernel rebuild is required as part of the configuration, auditconf guides the user through the rebuild and reboot. The auditconfig interface configures the following aspects of the audit subsystem: Location of the audit logs. The /var/audit/ directory is the default area. Action for the audit subsystem to take if the file space allocated for audit logs is exhausted. Trimming of audit logs. Enable accepting audit data from remote systems. Select the profiles/categories of events to be audited. Include environment strings with an or system call. You must be root to run FILES
/etc/sec/event_aliases A set of aliases by which logically related groupings of events can be constructed. You can modify this set of aliases to suit your site's requirements. /etc/sec/auditmask_style Auditmask style selections. /etc/sec/auditd_clients A list of hosts from which audit data can be accepted. /etc/sec/auditd_loc A list of alternative locations in which auditd stores audit data when an overflow condition is reached. /etc/sec/audit_events A list of all security-relevant system calls and trusted (application) events. You can modify this file or use it as a template. /etc/sec/file_objects/* The list of files that auditconfig used to enable object selection or deselection. /etc/rc.config.common The cluster-wide rc variables for the audit subsystem. /etc/sec/rc_audit_events Used for input to for audit events during system initialization. /etc/sec/fs_objects Created when object (de)selection is derived from a profile(category). It contains the selected profile's entries of file objects. RELATED INFORMATION
Commands: auditmask(8), auditd(8), sysman(8), sysman_station(8) Security, System Administration delim off auditconfig(8)
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy