 To Create a Non-Root User on the OpenSSO Enterprise 2 Host
Machine
To Create a Non-Root User on the OpenSSO Enterprise 2 Host
MachineLog in to the osso2.idp-example.com host machine as a root user.
Create a new user with roleadd.
| # roleadd -s /sbin/sh -m -g staff -d /export/osso80adm osso80adm | 
(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:65534:SunOS 4.x NFS Anonymous Access User:/: osso80adm:x:223830:10::/export/osso80adm:/sbin/sh | 
(Optional) Verify that the user's directory was created.
| # cd /export/osso80adm # ls local.cshrc local.profile local.login | 
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.