Audit not working on Solaris 10


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Audit not working on Solaris 10

hi,
I enabled bsm modules (/etc/security/bsmconv) and rebooted Solaris 10. But service is going into maintenance state. I rebooted server and I see one error saying "sys/c2audit:audit_kssl() not defined properly". I am not sure, what it is indicating and how it should be fixed. Please suggest, how can I enable it.
Code:
# cat /etc/security/audit_control
#
# Copyright (c) 1988 by Sun Microsystems, Inc.
#
# ident "@(#)audit_control.txt  1.4     00/07/17 SMI"
#
dir:/var/audit/audit-sol
flags:lo,ad
minfree:20
naflags:lo
# audit -v /etc/security/audit_control
syntax ok
# 
# svcs -a | grep audit
maintenance    13:18:04 svc:/system/auditd:default
# tail -5 /var/svc/log/system-auditd:default.log
[ Jul  5 13:18:04 Stopping for maintenance due to administrative_request. ]
[ Jul  5 13:18:04 Stopping for maintenance due to administrative_request. ]
[ Jul  5 13:18:04 Stopping for maintenance due to administrative_request. ]
[ Jul  5 13:18:04 Stopping for maintenance due to administrative_request. ]
[ Jul  5 13:18:04 Stopping for maintenance due to administrative_request. ]
#

Thanks
# 2  
There are two possible ways to enable BSM auditing on Solaris. Which one did you use? Do you need to enable the my-ldm.driver?

See this reference:
https://docs.oracle.com/cd/E19227-01...ing/index.html
# 3  
I issued "/etc/security/bsmconv" and rebooted server, but not touched my-ldm.driver
# 4  
So as per the reference material did you

Quote:
Add vs in the flags: line of the /etc/security/audit_control file
before you did that????
# 5  
It was not added earlier. Then I added vs flag, as you see in below output and rebooted server. Still it complains about
Quote:
sys/c2audit:audit_kssl() not defined properly
Code:
# cat /etc/security/audit_control
#
# Copyright (c) 1988 by Sun Microsystems, Inc.
#
# ident "@(#)audit_control.txt  1.4     00/07/17 SMI"
#
dir:/var/audit/audit-sol
flags:lo,ad,vs
minfree:20
naflags:lo
# svcs -a | grep svc:/system/auditd:default
maintenance    15:10:43 svc:/system/auditd:default
#

# 6  
Quote:
Originally Posted by solaris_1977
It was not added earlier. Then I added vs flag, as you see in below output and rebooted server. Still it complains about
Code:
# cat /etc/security/audit_control
#
# Copyright (c) 1988 by Sun Microsystems, Inc.
#
# ident "@(#)audit_control.txt  1.4     00/07/17 SMI"
#
dir:/var/audit/audit-sol
flags:lo,ad,vs
minfree:20
naflags:lo
# svcs -a | grep svc:/system/auditd:default
maintenance    15:10:43 svc:/system/auditd:default
#

================
Update : I am able to fix it. That was patch issue. I patched this server couple of days back and kernel patch was mismatching in both command
Code:
#uname -a 
# strings /platform/`uname -m`/kernel/sparcv9/unix | grep Generic

I had to fix boot-archive , as mentioned in this doc and this is fixed - The "uname -a" and "showrev -p" Commands Show Different Kernel Patch Revisions
This User Gave Thanks to solaris_1977 For This Post:
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Solaris

How to view audit logs in Solaris?

Does anyone know if there is software written to view the audit logs generated by Solaris? I am referring the the logs created by auditd. It produces an unreadable log. I am familiar with auditreduce and praudit, but I am looking for something that produces a report, much like logwatch looks at the... (4 Replies)
Discussion started by: brownwrap
4 Replies

2. Solaris

Enabling Solaris Audit log: Solaris 9

Dear All, I have one of my Servers, running Solaris 9. I wanna enable the Audit log enabling, the way I did in Solaris 10 Servers. After running, the bsmconv script, giving the reboots, modifying all the audit files in /etc/security, the audit is enabled, but the audit file which shall be... (3 Replies)
Discussion started by: sumeet1806
3 Replies

3. Solaris

Cron audit problem in Solaris 8

cron audit problem. job failed I’m getting problem with crontab in Solaris 8 Crontab stop and is not running for all the cron jobs under cat /var/cron/log > CMD: /var/sh/go.sh > root 24835 c Sun Sep 26 08:06:00 2010 < root 24835 c Sun Sep 26 08:06:00 2010 rc=1 ! cron audit problem.... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

4. Solaris

Solaris 10 Services - Audit and Closure

Hello We have recently been through an audit of our solaris servers. All our solaris servers are running version 10. We have been told to close down all the services and we have closed what we could by using svcadm disable We only wish to let ssh and the ftp service to run. Below is a... (3 Replies)
Discussion started by: sollyshah
3 Replies

5. Solaris

Audit in Solaris Servers.

Hi Friends I am a Solaries newbie and I am looking out for a software or command or config that can capture all commands run by all users on a server on a daily basis. I believe that this Audit is being done in almost all enterprises and would like to know how the same is done there. Any... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

6. Solaris

audit in solaris 10

can you please share what you use to audit what files are deleted, when files are deleted and who deleted them? thx (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

7. Solaris

audit in solaris

How do I know that audit is enabled in soalris. in AIX 'audit query' command gives me the info whether auditing is on or not. Raghav (1 Reply)
Discussion started by: raghavender_sri
1 Replies

8. Solaris

I need to audit users on a Solaris box

Is there a command to find out all the commands ran by a certain user id? TiA (5 Replies)
Discussion started by: PapaPark
5 Replies

9. Solaris

Sun Solaris Audit Program

Hi All, Any one has, sun solaris audit program which covers everything one need to check as a security auditor. Audit Program will help. Thanks, Ghanshyam Emails not allowed - see the Rules (4 Replies)
Discussion started by: ghanshyampatel
4 Replies

10. Solaris

How to turn on Audit trial for Solaris 8

Hi, Anyone know how to turn on Solaris 8 audt trial Thank (2 Replies)
Discussion started by: civic2005
2 Replies

Featured Tech Videos