Oracle Solaris System Administration (MOSC)

MOSC Banner

Solaris 10 pkgadd & pkgrm usage audit

edited Jun 28, 2020 5:32AM in Oracle Solaris System Administration (MOSC) 7 commentsAnswered

Hi All,

I need to log pkgadd and pkgrm usage on Solaris 10 SPARC system. How to create new audit event for this?

Tried to add few classes to audit_control file, but pkgadd and pkgrm are not logged.

audit_class and audit_event files are system default.

# cat audit_control

flags:lo

naflags:lo

plugin:name=audit_binfile.so;p_dir=/var/audit; p_minfree=20;

plugin:name=audit_syslog.so;p_flags=+lo,+as,+ap,+ss

@" >>/var/adm/auditlog

# pkgadd -d /var/spool/pkg/appres.1.0.2.SPARC.64bit.Solaris.10.pkg

...

# pkgrm appres

...

# tail /var/adm/auditlog

...

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center