Log files

OpenSource For You - - ADMIN OVERVIEW -

TKLV LV QRW aQ acWXal WRRl, EXW lRJ filHV aUH a YHUy XVHIXl source of se­cu­rity-re­lated mes­sages that you should reg­u­larly check for ab­nor­mal mes­sages. It is rec­om­mended that you cre­ate small scripts, in your pre­ferred script­ing lan­guage, to ex­tract XQXVXal PHVVaJHV IURP yRXU lRJ filHV.

The fol­low­ing sim­ple grep -w com­mand dis­plays the sudo (man sudo) re­lated in­for­ma­tion found in the sys­tem.log filH:

$ grep -w sudo sys­tem.log

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.