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

Current Customers and Partners

Log in for full access

Log In