Segmentation fault in bash while user logging in or switching the user with 'su'

Solution Verified - Updated -

Issue

  • While switching to any user from already a logged in user using #su - <username> terminal shows message as Segmentation fault.
# su - <username>
Password:
Last login: <Day> <Month>  <-T-D - M> from x.x.x.x on <terminal>
Segmentation fault
  • User is brought to the login interface after inputting the username and password and the segmentation fault messages for bash are seen in the /var/log/messages.

Environment

  • Red Hat Enterprise Linux All

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