Translated message

A translation of this page exists in English.

root への切替時に "bash warning setlocale LC_CTYPE cannot change locale (en_US.UTF-8) No such file or directory" エラーが発生する理由

Solution In Progress - Updated -

Issue

  • システムにログインできない、または root ユーザーに切り替えることができません。以下のエラーメッセージが表示されます。
[test@localhost]$ su -
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6

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