Sun Patch Manager 2.0 Administration Guide for the Solaris 9 Operating System

ProcedureHow to Specify a User Name and Password With Which to Obtain Patches (Command Line)

If you needed a user name and password to obtain patches from the Sun patch server, you must specify them for Patch Manager.

If you do not have an account on SunSolve, register for one at http://sunsolve.sun.com.

As of June 2005, a user name and password are not required to obtain patches from the Sun patch server.

  1. Become an appropriately authorized user or assume a role that includes the Software Installation profile or the solaris.admin.patchmgr.* authorization.

    The System Administrator profile includes the appropriate profiles. To create the role and assign the role to a user, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Specify your user name.


    # smpatch set patchpro.sun.user=user-name
    
  3. Specify the password for your user by having smpatch prompt you for the password.


    # smpatch set patchpro.sun.passwd
    Sun User Password: password
    

    Setting the password in this way ensures that the password you type does not appear as clear text in the following:

    • Standard output

    • Output of the ps command

    • Your shell history file