Translated message

A translation of this page exists in English.

当使用 subscription-manager 注册时出现 "Invalid username or password"

Solution In Progress - Updated -

Issue

  • 在使用带有 --username--password 选项的 subscription-manager register 命令注册系统时,如果密码中包含了特殊字符,如 $/^/#,则会返回 Invalid username or password 错误。
# subscription-manager register --username=XXXXX --password=XXXX$XXXX
Registering to: subscription.rhsm.redhat.com:443/subscription
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
  • 但是,如果使用 subscription-manager register 命令并手动输入密码,则可以正常工作,系统可以注册到 RHSM。
# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: XXXXX
Password:
The system has been registered with ID: XXXXXXXXXX
  • 我们可以使用相同的用户名和密码登录到红帽客户门户网站。

Environment

  • Red Hat Enterprise Linux 7

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