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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.