cron root login shows in wtmp

Solution Verified - Updated -

Issue

  • When running last, presented with a large amount of output similar to the following.
root     cron                          Tue Dec 31 08:10 - 08:10  (00:00)
root     cron                          Tue Dec 31 08:05 - 08:05  (00:00)
root     cron                          Tue Dec 31 08:01 - 08:01  (00:00)
root     cron                          Tue Dec 31 08:00 - 08:00  (00:00)
root     cron                          Tue Dec 31 08:00 - 08:00  (00:00)
root     cron                          Tue Dec 31 07:55 - 07:55  (00:00)
root     cron                          Tue Dec 31 07:50 - 07:50  (00:00)
root     cron                          Tue Dec 31 07:50 - 07:50  (00:00)
root     cron                          Tue Dec 31 07:45 - 07:45  (00:00)
root     cron                          Tue Dec 31 07:40 - 07:40  (00:00)
root     cron                          Tue Dec 31 07:40 - 07:40  (00:00)
root     cron                          Tue Dec 31 07:35 - 07:35  (00:00)
root     cron                          Tue Dec 31 07:30 - 07:30  (00:00)
root     cron                          Tue Dec 31 07:30 - 07:30  (00:00)
root     cron                          Tue Dec 31 07:25 - 07:25  (00:00)
root     cron                          Tue Dec 31 07:20 - 07:20  (00:00)
root     cron                          Tue Dec 31 07:20 - 07:20  (00:00)
root     cron                          Tue Dec 31 07:15 - 07:15  (00:00)
root     cron                          Tue Dec 31 07:10 - 07:10  (00:00)
  • Is there a method to not have the cron logins by root appear in wtmp?

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content