Ctrl+c logs out from shell

Solution Verified - Updated -

Issue

  • When trying to interrupt a application with Ctrl^C, the user is directly logged out.

  • For example, during a ls command interrupted with Ctrl^C:

     $ ls -lart^Clogout
    

    The session of the user is closed.

Environment

  • Red Hat Enterprise Linux 7
  • mksh
  • Shell

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