While logging in with root user, getting error "-bash: /usr/bin/id: No such file or directory"
Issue
- While logging in with root user into
bash
shell usingssh
, getting the following errors.
-bash: /usr/bin/id: No such file or directory
-bash: [: =: unary operator expected
-bash: /usr/bin/id: No such file or directory
-bash: [: =: unary operator expected
-bash: id: command not found
-bash: id: command not found
Environment
- Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.