You can add new Web SSO users.
This task creates user accounts for Sun OTP application provisioning service, Sun OTP system management service, and Sun OTP security service with the provided credentials. The timeout value for each user session on server is two hours.
You need to manually create a user role before assigning the role to the Web SSO user. You need to create a role on all the cluster hosts and on all the zones, if applicable.
Log in as root (su - root) to the Sun OTP host.
Create a new role account.
For example, create a role by name ssorole.
roleadd -s /bin/pfksh -d /export/home/ssorole -K defaultpriv=basic -P "Cluster Management,Web Console Management,Cluster Operation,Sun Cluster Commands,All" ssorole
It is mandatory to add a profile to the role that you create. Else, you will not be able to perform the administration task on a cluster. For more information on the roleadd command, see the roleadd man page.
Change the password for the new role.
For example
passwd ssorole
Enter the new password for the role and confirm the password.
Create a home directory for the role.
mkdir /export/home/ssorole
chown ssorole:other /export/home/ssorole
Restart the name service cache daemon for the new role to take effect.
Perform this step after all the above steps are performed on all the cluster hosts and on all the zones, if applicable.
svcadm restart system/name-service-cache
Ensure that the resource group otp-security-ds-rg group is online on the first host of the cluster.
Open a browser and log in to the Sun OTP application provisioning service on the Sun OTP provisioning server.
Go to https://install server:9090 where install server is the IP address or the fully qualified name of the Sun OTP provisioning server.
Type the user name and password.
The user name is otpadmin. The password is the password provided in the password file while setting up the Sun OTP provisioning server.
Click OTP Setup to display the Sun Open Telecommunications Platform utility tasks page.
Click Add User and click run.
The SynchronizeWebSSOUsers plan run screen appears.
Type the host name in the target host field.
Type the Web SSO user name in the WebSSO login name field.
Type the password in the WebSSO password field.
Confirm the password in the Retype WebSSO password field.
Type the user role in the User role field.
You need to manually create a role before assigning it to the Web SSO user.
If there is no user role, do not specify any value for this field.
Click run plan (includes preflight).
The ssocli command needs to be executed on the same server which was used for the deployment.
Ensure that the resource group otp-security-ds-rg group is online on the first host of the cluster.
Log in as root (su - root) to the provisioning server.
Type the following command to add Web SSO user.
/opt/SUNWotp/cli/ssocli add -u ssousername -f oldpasswordfile -c clusterhostset -r role -i
ssousername is the Web SSO user name.
oldpasswordfile is the file that contains the old or initial password on the first line.
clusterhostset is the cluster host set.
role is the role of the Web SSO user. You need to manuallycreate a role before assigning it to the Web SSO user.
If there is no user role, do not specify any value for role.
For example
/opt/SUNWotp/cli/ssocli add -u ssouser -f /tmp/pass -c cl-sso -r manager -i