Error when trying to use vi or nano in mainenance mode

Solution Verified - Updated -

Issue

When starting up in maintenance mode, receiving bash error when trying to access program such as vi or nano

bash: /user/bin/id: no such file or directory
bash: [: =: unary operator expected

Environment

  • Red Hat Enterprise Linux 5

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