Linux Centos 5.4 BTMP file size


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Linux Centos 5.4 BTMP file size

Dear fellows,

I have Centos 5.4 linux with DNS server, all logs are normal, in my /var/log/ btmp files is getting larger day by day.

What is this btmp file for?
How can i reduce the file siez or control file size.

Waiting.
MAZ
# 2  
It's the log file for bad login attempts (see man lastb). If it's growing fast you either have a really dumb user somewhere, or a forgotten script trying old credentials, or someone is trying to own your box. You can have it auto-cleaned using logrotate, or (if you don't need the history) truncate it using
Code:
: > /var/log/btmp

Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Processing btmp with PHP for iptables
Neo
On linux, lastb is the same as last, except that by default lastb shows a log of the /var/log/btmp file, which contains all the bad login attempts. This file grows large quickly (sometimes over 100K entries or more in a day) with the constant brute force login attempts, especially by IP...... Cybersecurity
1
Cybersecurity
How to reduce the LVM Size in RHEL/Centos 7 ?
kalpeer
Hi All, I have one logical volume with size as 900G and it is mounted as xfs file system. Now I want to reduce this partition to 500G. So I followed the below steps. unmount the mount point /home Reduced the volume using the command Now I remounted the partition. But the problem...... Red Hat
3
Red Hat
/var/log/btmp size 2.2Gb daily
feroccimx
Hello, One Fedora server is facing the issue that daily /var/log/btmp grows to 2.2Gb or more. I need your help to determine the cause and isolate it. Thank you!... Fedora
6
Fedora
File size limitation in Linux
siva3492
Hi friends, I tried to take a backup of my PC using tar command. But it ended with an error tar: /home/backup/back.tar.gz: Cannot write: No space left on device tar: Error is not recoverable: exiting now But i checked the disk space and there is enough space is available. ]# df Filesystem...... Linux
11
Linux
Is there any way to find the compressed size of a file without compressing it in linux
Kesavan
i need to backup a directory from one partition to another and and compress that directory after backing up, so i need to predict the compressed size of the directory with out actually compressing it, to check whether the space is available in the destination partition to accommodate the zipped...... Shell Programming and Scripting
2
Shell Programming and Scripting