Deployment Example: SAML v2 Using Sun OpenSSO Enterprise 8.0

ProcedureTo Create a Non-Root User on the OpenSSO Enterprise 2 Host Machine

  1. Log in to the host machine as a root user.

  2. Create a new user with roleadd.

    # roleadd -s /sbin/sh -m -g staff -d /export/osso80adm osso80adm
  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/osso80adm
    # ls
    local.cshrc    local.profile    local.login
  5. Create a password for the non-root user.

    # passwd osso80adm
    New Password: nonroot2pwd
    Re-ener new Pasword: nonroot2pwd
    passwd: password successfully changed for osso80adm

    Caution – Caution –

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