hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Does 'last' reset?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Does 'last' reset?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2005, 02:49 PM
fog fog is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,373

Does 'last' reset?


Does the output of "last" reset at the start of the month or something?

/var/log/messages contains a ton of attempts at brute-forcing my password. (A search for "authentication failure" returns 905 lines. 632 came from one LACNIC IP.)

Anyway, the box shows no signs of being hacked (load average of 0.00, almost nothing showing on my ISP's MRTG chart for my box), but I ran "last" just to make sure no one got in.

Code:
# last
root     pts/0        [my IP here]   Tue Nov  1 07:31   still logged in

wtmp begins Tue Nov  1 07:31:34 2005
This is kind of disconcerting, as I log in a lot more often, and there are usually a lot more entries. Is it normal for it to have reset like that?

By the way, isn't the default behavior of ssh to sleep at increasing intervals between unsuccessful login attempts? This guy (actaully, 2 of them) was trying a ton a second.

Reply With Quote


Sponsored Links
  #2  
Old 11-01-2005, 02:57 PM
linux-tech linux-tech is offline
<?require_once("life")?>
 
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
Yup, it resets on the 1st of every month.
You can adjust this in /etc/logrotate.conf, but make sure you RTFM before you do, so you know what your changes are going to affect, and what the options are.

__________________
Linux Tech Networks Reliable, Affordable Linux administration and monitoring since 2002

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Linode Resets Passwords After Discovering Customer Hacking Attempt Web Hosting News 2013-04-15 13:25:41
Heroku Works with Security Researcher to Fix Password Vulnerability Web Hosting News 2013-01-10 12:51:17
Hackers Use Social Engineering to Compromise CloudFlare CEO Gmail Account Web Hosting News 2012-06-04 10:40:16
Web Host DreamHost Resets FTP Passwords After Security Breach Detected Web Hosting News 2012-01-23 11:25:25
WordPress Forces Password Reset After Suspicious Activity on Plugins Detected Web Hosting News 2011-06-22 14:56:47


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?