Unable to change telnet password prompt even through LOGIN_STRINGS is defined in login.defs

Solution Verified - Updated -

Issue

  • Customization of the telnet login prompt from

    rhel7 login: user1
    Password: 
    
    to
    
    login: user1
    user1's Password: 
    
  • Adding LOGIN_STRING below long string entry in /etc/login.defs does not able to change password prompt.

    # Password prompt (%s will be replaced by user name).
    LOGIN_STRING           "%s's Password: " 
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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