How to avoid audit messages in Logs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to avoid audit messages in Logs

1,859 Views
sreedhar_appala
Contributor IV

Hi,

I am getting audit messages in between running my application, i want to suppress them for the user convenience.

pls find the log snippet below.

 

6.905721] audit: type=1006 audit(1543187060.896:2): pid=3701 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ OK ] Started Session c1 of user root.
[ OK ] Started User Manager for UID 0.
Stopping User Manager for UID 0...
[ OK ] Stopped User Manager for UID 0.
[ OK ] Removed slice User Slice of root.

NXP i.MX Release Distro 4.14-sumo imx8mmevk ttymxc1

imx8mmevk login: root (automatic login)

Last login: Sun Nov 25 23:04:20 UTC 2018 on tty7
[ 11.817589] audit: type=1006 audit(1543187065.808:3): pid=3709 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
root@imx8mmevk:~#

thank you, sreedhar

0 Kudos
1 Reply

1,635 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Sreedar,

Those messages are from the kernel, you can uncomment the lines in kernel then you must compile.

Regards

0 Kudos