Deployment Example: Single Sign-On, Load Balancing and Failover Using Sun OpenSSO Enterprise 8.0

ProcedureTo Create a Non-Root User on the Distributed Authentication User Interface 2 Host Machine

Create the non-root user using the roleadd command in the Solaris Operating Environment on the Distributed Authentication User Interface 2 (da-2) host machine.

  1. As a root user, log in to the da-2 host machine.

  2. Use roleadd to create a new user.

    # roleadd -s /sbin/sh -m -g staff -d /export/da80adm da80adm
  3. (Optional) Verify that the user was created.

    # cat /etc/passwd
    nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
  4. (Optional) Verify that the user's directory was created.

    # cd /export/da80adm
    # ls
    local.cshrc    local.profile    local.login
  5. (Optional) Create a password for the non-root user.

    # passwd da80adm 
    New Password: da80a6m
    Re-ener new Pasword: da80a6m
    passwd: password successfully changed for da80adm

    Note –

    If you do not perform this step, you will not be able to switch user (su) when logged in as the non-root user.