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

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.