How to avoid audit messages in Logs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to avoid audit messages in Logs

2,172件の閲覧回数
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 件の賞賛
返信
1 返信

1,948件の閲覧回数
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 件の賞賛
返信