How to know the first time a daemon was invoked?


 
Thread Tools Search this Thread
Operating Systems AIX How to know the first time a daemon was invoked?
# 1  
Old 05-08-2012
How to know the first time a daemon was invoked?

I have an investigation job at hand where I have to know when was the FIRST time the daemon was invoked.
Now, currently what I can see as the time since invoked was some where near the last reboot which is kind of obvious that the daemon stopped and recycled after reboot.

But I want to know the first time it was created. It can be yesterday, a month a year a couple of years...any day in the history.

ANy guidance appreciated.
# 2  
Old 05-08-2012
I think you should have a look at auditing subsystem in AIX: IBM AIX System Security Audit - United States
# 3  
Old 05-08-2012
Thanks but this deals with audits on the server, which something the Administrator shall be aware of. Smilie

What I need to know is regarding a particular process.

Any ideas?
# 4  
Old 05-08-2012
Those audit events deal with all the processes on the server (so your particular process as well):
Code:
PROC_Create (process creation)
PROC_Execute (command execution)
PROC_Delete (process completion)

# 5  
Old 05-08-2012
nice!!
Thanks...I'll dig into it Smilie
# 6  
Old 05-16-2012
Quote:
Originally Posted by TH3M0Nk
Thanks but this deals with audits on the server, which something the Administrator shall be aware of. Smilie
Sounds like you want to do something the administrator can't change. This is usually the case in security-aware environments. I got a company (card-processing business) through a PCI certification and they had similar issues.

We did the following there: installed Samhain (a host-based intrusion detection system) and syslog-ng. The syslog-ng allows for multiple output destinations and we used one "secure server" which was not under the administration of the usual admins as destination.

We intended to install Snoopylogger too, but alas never got it to run on AIX, so we only installed it on the Linux systems.

I hope this helps.

bakunin
# 7  
Old 05-18-2012
The problem is the kind of job i have we have administrative priveleges, but the protocols don't allow us to experiments too much with the data stored in the server.

So we can't install any third party softwares on those servers. Smilie
I was looking for some internal command on the Unix server through which I can know, the first time a daemon was created.
I wish I could do what you have suggested me to do. Appreciate your help!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to ensure a script can only be invoked from another?

Hi All, I have two scripts - ScriptA and ScriptB ScriptA has logic to invoke ScriptB : - with some parameter - or without any parameter ScriptB can also be invoked by the user from the command line. Is there anyway to ensure that when I execute ScriptB from the command line, it does... (3 Replies)
Discussion started by: chaitanya.gvc
3 Replies

2. Shell Programming and Scripting

CRON: Script not getting invoked

Hi, I have the following script - fixpart="/files/myScript # Transfer Script" echo "Specify the transfer frequency in minutes - " echo "every 1, 2, 3, or 5 minutes (default every 1 minute) " echo $nn "Frequency ? :" $cc read ans case $ans in 2) echo... (9 Replies)
Discussion started by: angshuman_ag
9 Replies

3. Solaris

expect package is not invoked from cron

Hi, I am running some etl commands in the windows from shell script(from unix sun solaris 5.9) by using expect package .While running manually the script is working fine.While running from cron it is exiting the after successfully firing the ETL command(The control does not stop after firing... (1 Reply)
Discussion started by: megh
1 Replies

4. UNIX for Advanced & Expert Users

why the script name not displayed and not sh invoked?

Say there is a shell script named test.sh. I intentionally omit the #! line in test.sh for testing perpose. I did the following : $ echo $0 -ksh ---> current shell $ echo $$ 12919 ---> PID of the current shell... (4 Replies)
Discussion started by: hongwei
4 Replies

5. Ubuntu

How can I automatically start a daemon at boot time.

Hi masters, I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task. Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies

6. Shell Programming and Scripting

determine if the script has been invoked manually or not?

Hi, Is there a way to determine if the script has been invoked manually or not( might be invoked by a schedular or crontab)? Thanks, (8 Replies)
Discussion started by: hitmansilentass
8 Replies

7. Shell Programming and Scripting

License error when Invoked from Java Code

Hi all, I am getting a License error when Iam trying to call a perl script which builds TestRT (Test Real Time) application. When Iam calling the same script from command prompt it is building successfully. Iam using Solaris 9 Operating system. I have checked all the environment variables... (0 Replies)
Discussion started by: srini.g
0 Replies

8. Shell Programming and Scripting

no shell invoked in crontab

Hi all, I am trying to run a script in crontab but I receive the email below. Note the empty variable SHELL. Apparently cron doesn't invoke a shell. That explains the errors in the script it is trying to execute. Anyone know what maybe wrong? Subject: Output from cron job... (3 Replies)
Discussion started by: ivanushka
3 Replies

9. Shell Programming and Scripting

scp between 2 servers - invoked at 3rd server

I have a couple of servers that can't see each other and need to copy files from one to the other. I try to invoke scp from a 3rd server that can see both servers - get error msgs that are cryptic. from server C I can do scp user@serverA:~/file . scp file user@serverB:~ but if I try to... (2 Replies)
Discussion started by: bigjohn-nj
2 Replies

10. UNIX for Dummies Questions & Answers

Disable routed daemon at boot time????

I'm new to UNIX.... I'm running SCO UNIX and would like to disable routed daemon from being start at boot time. How should I do this????? Please help. (2 Replies)
Discussion started by: rrivas
2 Replies
Login or Register to Ask a Question