su: /bin/bash : No such file or directory

Solution Verified - Updated -

Issue

  • Can not login as root user
[root@localhost ~]# su
su: /bin/bash : No such file or directory
[root@localhost ~]# which bash
/bin/bash
[root@localhost ~]# whoami
root
[root@localhost ~]# su -
su: /bin/bash : No such file or directory
[root@localhost ~]#
[root@localhost ~]# ls -l /bin/bash
-rwxr-xr-x. 1 root root 903528 Sep 15 08:30 /bin/bash
[root@localhost ~]#

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