A login message is different between RHEL6 and RHEL7

Solution Verified - Updated -

Issue

  • After a password input was failed once, the message which is output at login is different between RHEL6 and RHEL7 as follows.
[RHEL6]
  login as: root
  root@192.168.122.30's password:
  Access denied
  root@192.168.122.30's password:
  Last login: Thu Apr 11 04:24:56 2013 from 192.168.122.20
[RHEL7]
  login as: root
  root@192.168.122.40's password:
  Access denied
  root@192.168.122.40's password:
  Last failed login: Thu Apr 11 18:14:11 EDT 2013 from 192.168.122.10 on ssh:notty
  There were 1 failed login attempts since the last successful login.
  Last login: Thu Apr 11 17:00:03 2013 from 192.168.122.10

Environment

  • Red Hat Enterprise Linux 7

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