- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wtmps and btmps growing too fast - how to disable ...
Operating System - HP-UX
1745778
Members
3999
Online
108722
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 01:54 AM
тАО09-01-2009 01:54 AM
Hi all,
Our wtmps and btmps files are increasing too fast and all the time we are purging those with (cat /dev/null > wtmps).
Can we somehow configure or choose what kind of messages are saved here or eliminate all FTP sessions to be logged in these files?
Thank you.
Our wtmps and btmps files are increasing too fast and all the time we are purging those with (cat /dev/null > wtmps).
Can we somehow configure or choose what kind of messages are saved here or eliminate all FTP sessions to be logged in these files?
Thank you.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 02:02 AM
тАО09-01-2009 02:02 AM
Solution
Shalom,
Don't disable it. I once failed a security audit with that trick.
Write a simple script and run it periodically with cron.
cp /var/adm/syslog/btmp /nfs/btmp
> /var/adm/syslog/btmp
Same thing for wtmp.
Modify the script to give unique names.
You want to keep 90 days worth of these files around, perhaps more depending on your SOX requirements.
SEP
hpuxconulting in yahoo messenger. Ping me.
Don't disable it. I once failed a security audit with that trick.
Write a simple script and run it periodically with cron.
cp /var/adm/syslog/btmp /nfs/btmp
> /var/adm/syslog/btmp
Same thing for wtmp.
Modify the script to give unique names.
You want to keep 90 days worth of these files around, perhaps more depending on your SOX requirements.
SEP
hpuxconulting in yahoo messenger. Ping me.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 11:31 AM
тАО09-01-2009 11:31 AM
Re: wtmps and btmps growing too fast - how to disable it or filter messages
>Our wtmps and btmps files are increasing
Did you really mean it when you said btmps? If this is the case, you have more problems than just disk space.
Did you really mean it when you said btmps? If this is the case, you have more problems than just disk space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 07:37 PM
тАО09-01-2009 07:37 PM
Re: wtmps and btmps growing too fast - how to disable it or filter messages
btmps is a log of failed login attempts. If it is growing rapidly, you have a very serious problem. Someone or some system is trying to login and is constantly failing. This may be a stupid process on another system that does not report the failed login attmpet or it may be a hacker's laptop over in the corner that is trying millions of passwords to gain access.
If there is a system that is clobbering your ftp server with bad logins, use /var/adm/inetd.sec to deny any access by the bad system.
Bill Hassell, sysadmin
If there is a system that is clobbering your ftp server with bad logins, use /var/adm/inetd.sec to deny any access by the bad system.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP