Deployment Example 1: Access Manager 7.1 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Create a Non-Root User on the Access Manager 1 Host Machine

  1. As a root user, log in to the AccessManager–1 host machine.

  2. Use roleadd to create a new user.


    # roleadd -s /sbin/sh -m -g staff -d /export/am71adm am71adm
    

    Note –

    We chose to use roleadd rather than useradd for security reasons as roleadd disables the ability of the user to log in.


  3. (Optional) Verify that the user was created.


    # cat /etc/passwd
    
    root:x:0:0:Super-User:/:/sbin/sh
    daemon:x:1:1::/:
    ...
    nobody4:x:65534:SunOS 4.x NFS Anonymous Access User:/:
    am71adm:x:215933:10::/export/am71adm:/sbin/sh
  4. (Optional) Verify that the user's directory was created.


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


    # passwd am71adm
    New Password: 4m71a6m
    Re-ener new Pasword: 4m71a6m
    
    passwd: password successfully changed for am71adm

    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.