可使用 regadm auth 命令交互式或非交互式验证 My Oracle Support 用户。以下步骤描述如何非交互式使用命令。随后的示例说明如何在两种模式中运行命令。
成为超级用户或同等角色。
创建临时口令文件:
# touch pwfile |
确保文件的权限安全:
# chmod 600 pwfile |
使用文本编辑器编辑刚创建的临时口令文件。插入包含您口令信息的单行条目。
通过指定命名的支持凭证验证 My Oracle Support:
# regadm auth -u user@example.com -p pwfile |
其中,user@example.com 是 My Oracle Support 或 Sun 联机帐户用户名,pwfile 是您在步骤 2 中创建的口令文件。
会显示一条消息,表明验证成功或失败。
按以下方式继续:
如果验证成功,您可继续注册。
有关说明,请参见 如何使用 regadm 命令注册系统。
如果验证失败,请参阅自动注册问题故障排除。
删除临时口令文件:
# rm pwfile |
# touch mospwfile # chmod 600 mospwfile # vi mospwfile . . . # regadm auth -u jdoe@mycompany.com -p mospwfile Authenticating "jdoe@mycompany.com" with My Oracle Support Authentication sucessful You can now register this system with My Oracle Support via "regadm register" # rm mospwfile |
# regadm auth Enter your My Oracle Support username: jdoe@mycompany.com Enter password: Enter password again: Authenticating "jdoe@mycompany.com" with My Oracle Support Authentication successful You can now register this system with My Oracle Support via "regadm register" |