System Administration Guide: Basic Administration

ProcedureHow to Authenticate a User by Specifying Named Support Credentials

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.

  1. Become superuser or assume an equivalent role.

  2. Create a temporary password file:


    # touch pwfile
    
  3. Secure permissions on the file:


    # chmod 600 pwfile
    
  4. Using a text editor, edit the temporary password file that you just created. Insert a one-line entry that contains your password information.

  5. 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.

  6. Proceed as follows:

  7. Remove the temporary password file:


    # rm pwfile
    

Example 17–7 Authenticating a User With Named Support Credentials (Non-Interactive)


# 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


Example 17–8 Authenticating a User With Named Support Credentials (Interactive)


# 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"