How to completely remove logs from linux server
by GoldShell - Saturday August 12, 2023 at 04:59 PM
#1
How to globally disable logging and remove logs that now exists?
Don't tell me to just rm -rf * in /var/log. Won't work and will just give more issues with the services that are running.
Reply
#2
From the one google search I did, it seems doing "service rsyslog stop" or doing "systemctl disable rsyslog" are what you're looking for. As for removing logs that now exist, you could probably just write a script to search through the logs for anything specific and either delete them or edit them out.
DM for Doxing / Pentesting Services
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  OSINT repositories by country browdbrowniebread 0 226 Yesterday, 07:41 PM
Last Post: browdbrowniebread
  A collection of deepweb sites [2025] dg7ka 107 2,959 Yesterday, 03:27 PM
Last Post: Jeracix
  FREE 3 UNCENSORED HACKING LLM QaboosbinSaidAlSaid 68 1,691 Yesterday, 02:22 AM
Last Post: Microban
  Telegram Opsec Guide Synaptic 47 1,874 Apr 29, 2026, 07:59 PM
Last Post: thebinarymonk
  Looking for experienced hacker 99992 0 186 Apr 28, 2026, 10:59 PM
Last Post: 99992

Forum Jump:


 Users browsing this forum: 1 Guest(s)