You can add a user whenever you need to provide access to the WebNMS Client. By default, the new user has login permission only. You provide access to various modules by making the user a member of pre-configured groups or by directly assigning permissions to the user.
You can add a new user
From Application Client
From Web Client
Using Command Line
Adding User from Application Client
The procedure to add a new user for Application, Applet, or Web Start Client is the same. For more information on WebNMS Clients, refer to Understanding WebNMS Clients in User Guide.
To add a new user
In the Application Client, perform any of the following procedure.
From Tools menu, choose Security Administration.
The Security Administration window is displayed.
In Security Administration window, perform any of the following procedure.
From File menu, choose New > AddUser.
Right-click the Users node on the Security tree (located at the left side of Security Administration window) and click AddUser.
The User Administration wizard is displayed.
Type the user name and password in appropriate fields. Type the descriptive name of the user in the Enter the full name field. If no password is specified, the user name is set as the password. Click Next.
In the User account expiry section, complete one of the following steps:
By default, the user account never expires.
If you are providing access for a limited number of days, type the number of days in which the account expires in the Day(s) field.
If the account has no expiration, check the Account never expires checkbox.
In the Password expiry section, complete one of the following steps:
By default, the user account never expires.
If the password has an expiration time period, type the number of days in which the password expires in the Day(s) field.
If the password has no expiration, check the Password never expires checkbox.
Note: Here user account expires and password expires are two different entities. You can give user name and password expiry separately. Password expiry is checked only when the user tries to login. Whereas the user account expiry check is done at a regular time interval. This time interval check works only if time_interval_for_security_scheduler_in_ms parameter in NmsProcessesBE.conf file located in <WebNMS Home>/conf directory is configured (in milliseconds). By default, the value is set as '0' whereby scheduler will not be started and the user expiration check will not be done.
Perform any of the following.
If you are associating the user with an existing group, complete the following steps:
Check the Group based permissions checkbox.
In Assign groups for the user, check the check boxes next to the groups to which you want to assign the user.
Tip: Click the arrow in the dialog box to display a pop-up window displaying the corresponding permissions for the group. Based on the permissions you can assign groups to the user.
If you want to create a new group to which you want to associate the user, complete the following steps:
In the Enter the new group name field, type a name for the new group.
Click Add Group.
The Assign Permissions dialog box is displayed. For more information about selecting permissions in this dialog box for the new group, see step 4 in the “Changing Group Permissions.”
To directly assign permissions to the user, complete the following steps:
Check the Direct assignment checkbox.
Click the Permissions button.
The Assign Permissions dialog box is displayed. For more information on selecting permissions in this dialog box, refer to Assigning Operations.
Note: The operations assigned to the user are specific to that particular user alone.
When you have finished assigning permissions to the user, click the Finish button.
The new user is displayed in the Security tree on the left side of Security Administration window.
Adding User Using Command Line
Execute UserConfig.sh/bat file located in <WebNMS Home>/bin/admintools directory, from the command line as given below:
UserConfig.sh/bat Add <WebNMS Home> UserName Password Group RMI port number
UserName is the user name of the new user.
Password is the password to authenticate the user during his login.
Group is the group to which the user should belong.
RMI port number (optional): The RMI port number of WebNMS. If not specified, the default RMI port number 1099 is set.
UserConfig.sh/bat Add > c:/program files/adventnet/webnms guest xyz Admin 1100
A new user guest is added to Admin group with password xyz to the database.