02-24-2007
Audits on sol 9
Ok, thank you much. I didn't think there were, as I have been looking for a little while.
9 More Discussions You Might Find Interesting
1. Programming
I have a C program and want to write messages to a log. BSM is being used for O/S auditing. Can I write my messages to the BSM log? If so, how do I do that? I'm not finding any API's for that. Any URLs, samples, guidance would be appreciated. (0 Replies)
Discussion started by: JDO
0 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
I am new to this forum so I am sorry if i posted this thread in the wrong place. I am currently trying to get BSM to work on solaris 10 by Logging few things for me. I need your help to complete this task please.
this is the config of the audit files:
audit_conto
# Copyright... (18 Replies)
Discussion started by: skywalker850i
18 Replies
3. Solaris
I got a lot of this message in my /var/audit log
how can I exclude this message?
header,127,2,invalid event number,fe,hostsol1.com.sg,2007-12-21 00:10:01.001 +08:00,argument,1,0x5,processor ID,argument
,2,0x3,flag,text,P_STATUS,subject,zhang1,root,root,root,root,18228,576129155,291 131094... (1 Reply)
Discussion started by: geoffry
1 Replies
4. Cybersecurity
Hi,
I keep encountering events in the BSM/C2 logs which shows that the audit-user who performed the event is the user (e.g. ongkk in the example below). However, the user is able to show me that he wasn't logged in at that time nor have the rights to perform the event (e.g. su in this example).... (5 Replies)
Discussion started by: BERNIELEE68
5 Replies
5. Solaris
Does anyone know of any other place to download Solaris 9 packages other than Oracle's website. I'm looking to setup Solaris 9 containers and needing package
SUNWs9brandk. I don't have a account with Oracle to allow me to download this package. I'm using a Solaris 10 server update 9. (1 Reply)
Discussion started by: soupbone38
1 Replies
6. Solaris
Hi ,
I don't want logs from a particular "library" to get recorded in the audit.log file. Is that possible with BSM? Please guide.
Thanks. (2 Replies)
Discussion started by: chinchao
2 Replies
7. Solaris
New to Solaris in general (coming from a RHEL background) I'm trying to enable auditing on the system with the following in /etc/security/audit_control:
But there are two areas where it seems to break with expected behavior (maybe it's poor expectations on my part):
1) it seems to be... (0 Replies)
Discussion started by: thmnetwork
0 Replies
8. Solaris
Solaris 9 system:
I'm trying to get BSM to record to the point where additional files being put into /etc/opt/csw/sudoers.d will be recorded but thus far all I'm able to get are when files are deleted (via unlink). I've even tried auditing based on the "all" audit flag temporarily (thinking I... (2 Replies)
Discussion started by: thmnetwork
2 Replies
9. Solaris
Hi all,
I'm trying to read Solaris BSM log in user friendly form. Found old tools including bsmparser java tool and php code. But none of them working. What are you using for parsing BSM log? (2 Replies)
Discussion started by: sembii
2 Replies
LEARN ABOUT REDHAT
sserver
SSERVER(8) System Manager's Manual SSERVER(8)
NAME
sserver - sample Kerberos version 5 server
SYNOPSIS
sserver [ -p port ] [ -S keytab ] [ server_port ]
DESCRIPTION
sserver and sclient are a simple demonstration client/server application. When sclient connects to sserver, it performs a Kerberos authen-
tication, and then sserver returns to sclient the Kerberos principal which was used for the Kerberos authentication. It makes a good test
that Kerberos has been successfully installed on a machine.
The service name used by sserver and sclient is sample. Hence, sserver will require that there be a keytab entry for the service "sam-
ple/hostname.domain.name@REALM.NAME". This keytab is generated using the kadmin(8) program. The keytab file is usually installed as
"/etc/krb5.keytab".
The -S option allows for a different keytab than the default.
sserver is normally invoked out of inetd(8), using a line in /etc/inetd.conf that looks like this:
sample stream tcp nowait root /usr/kerberos/sbin/sserver sserver
Since sample is normally not a port defined in /etc/services, you will usually have to add a line to /etc/services which looks like this:
sample 13135/tcp
When using sclient, you will first have to have an entry in the Kerberos database, by using kadmin(8), and then you have to get Kerberos
tickets, by using kinit(8). Also, if you are running the sclient program on a different host than the sserver it will be connecting to, be
sure that both hosts have an entry in /etc/services for the sample tcp port, and that the same port number is in both files.
When you run sclient you should see something like this:
sendauth succeeded, reply is:
reply len 32, contents:
You are nlgilman@JIMI.MIT.EDU
COMMON ERROR MESSAGES
1) kinit returns the error:
kinit: Client not found in Kerberos database while getting initial credentials
This means that you didn't create an entry for your username in the Kerberos database.
2) sclient returns the error:
unknown service sample/tcp; check /etc/services
This means that you don't have an entry in /etc/services for the sample tcp port.
3) sclient returns the error:
connect: Connection refused
This probably means you didn't edit /etc/inetd.conf correctly, or you didn't restart inetd after editing inetd.conf.
4) sclient returns the error:
sclient: Server not found in Kerberos database while using sendauth
This means that the "sample/hostname@LOCAL.REALM" service was not defined in the Kerberos database; it should be created using kadmin, and
a keytab file needs to be generated to make the key for that service principal available for ssclient.
5) sclient returns the error:
sendauth rejected, error reply is:
" No such file or directory"
This probably means sserver couldn't find the keytab file. It was probably not installed in the proper directory.
SEE ALSO
sclient(1), services(5), inetd(8)
SSERVER(8)