The regadm auth command can be used to authenticate a user with My Oracle Support, either interactively or non-interactively. The following procedure describes how to use the command non-interactively. The examples that follow show how to run the command in both modes.
Become superuser or assume an equivalent role.
Create a temporary password file:
# touch pwfile |
Secure permissions on the file:
# chmod 600 pwfile |
Using a text editor, edit the temporary password file that you just created. Insert a one-line entry that contains your password information.
Authenticate with My Oracle Support by specifying your named support credentials:
# regadm auth -u user@example.com -p pwfile |
where user@example.com is either the My Oracle Support or Sun Online account user name, and pwfile is the password file that you created in Step 2.
A message indicating that the authentication succeeded or failed is displayed.
Proceed as follows:
If the authentication succeeds, you can proceed with the registration.
For instructions, see How to Register Your System by Using the regadm Command.
If the authentication fails, refer to Troubleshooting Auto Registration Issues.
Remove the temporary password file:
# 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" |