The text of a manual · part 43 of 49
Cyclades-TS User Guide: Appendix F - Web User Management
Pages 405 to 414 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cyclades TS2000 and Avocent TS2000
Page 405
Appendix F - Web User Management Introduction
Appendix F - Web User Management
In the Cyclades-TS Web server, the user database is completely separated from the system’s (as defined in the /etc/passwd file), and the logic used for managing permissions is also different. The Web’s user database is stored in the /etc/websum.conf file, and it has basically three lists: users, user groups and access limits.
Default Configuration for Web User Management The following three screen shots show the default configuration for User List, User Group List, and Access Limit List pages, respectively.
Figure 55: User List default page
Figure 56: User Group List default page
User Guide
405
Page 406
Appendix F - Web User Management
406
Access Limit List
Entry
Sit i*giv#i#ig9gql#i#ig#ig#3u#i#z#iz#ize#isz
URL Privilege Level Access Method Secure i USER FULL No fapplt USER COOKIE No fread! MONITOR COOKIE No fadm! ADMINISTRATOR COOKIE No fcfg! FULL COOKIE No furmé FULL COOKIE No fgoforms MONITOR COOKIE No igoform/Login USER FULL No igoform/CheckLogin USER FULL No igoform/MainPageTable USER COOKIE No igoform/Logout USER COOKIE No fgoforméappl! USER COOKIE No fgoformiadms ADMINISTRATOR COOKIE No igoformictg! FULL COOKIE No igoformium! FULL COOKIE No
Figure 57: Access Limit List default page
Cyclades-TS
Page 407
Appendix F - Web User Management How Web User Management works When a user logs in, the username and the password are encrypted and stored in the browser. Whenever a URL is requested, the User Manager will perform the following tasks:
Task 1: Check the URL in the Access Limit List The Web server first scans for the full URL, and then it looks for the subdirectories, until reaching the root directory “/.” (In the URL http://CAS/goform/cfg/IPTablesRulesHandle, the access limits will be scanned in the following order: /goform/cfg/IPTablesRulesHandle, / goform/cfg, /goform and /.) When the URL matches an Access Limit, the following information will be available: Accessibility
When configured as FULL ACCESS, the URL can be accessed without any authentication; otherwise, the user can authenticate with BASIC, DIGEST or COOKIE authentication. The last type is recommended, because it allows the user to log out in the end of the session. The page will not be accessible when the accessibility is configured as NO ACCESS.
Security
When set to be secure, the page will be accessed only through HTTPS, which will encrypt the pages through OpenSSL. If the browser is in unsecure mode, the protocol and the port will change to HTTPS.
Privilege
This is the level of accessibility of the page. If the privilege is USER, any user will be able to access the page. If the privilege is FULL, only users with full access will be able to access the page. There are two levels between them: MONITOR and ADMINISTRATOR.
User Guide
407
Page 408
Appendix F - Web User Management Task 2: Read the Username and the Password This is done when the page must be accessed through authentication. If the username matches an entry in the users list, the following information will be available: Enabled
The username must be enabled to be authenticated.
Encrypted password
The password passed by the browser must match the one registered in the entry.
Group
Each username is linked to a user group.
Task 3: Look for the group retrieved in the user groups list The user group entry will have the following information:
Enabled
The group must be enabled to grant access to the URL.
Privilege
The group can have four privileges: in increasing order, they are USER, MONITOR, ADMINISTRATOR and FULL. The group privilege will be compared with the URL privilege. If it is greater or equal, the URL can be accessed by the user; otherwise, access is denied.
Web User Management Configuration - Getting Started The users, groups and access limits for Web User Management are configurable with your browser, though it is not recommended to change the groups and the access limits. In the default configuration: •
The access limits have privileges based on the functionality of the Web page.
•
There are four different groups (root, monitor, admin and user), each one with a specific privilege.
•
There is one root user (username is root and password is tslinux).
408
Cyclades-TS
Page 409
Appendix F - Web User Management Changing the Root Password The first thing to do after logging into a Web session the first time must be to change the root password. See Security Issue under Figure 11: Configuration & Administration Menu page. Step 1: Click on the link Web User Management > Users. Step 2: Select the root user and click the Change Password button. Step 3: Type the password twice and click the Submit button. Step 4:
Click on the link Web User Management > Load/Save Web Configuration. The Login page will appear.
Step 5: Type the username root and the password that was configured, then click on the Login button. Step 6: After the authentication, click on the Save Configuration button. Step 7: Click on the link Administration > Load/Save Configuration. Step 8: Click on the Save to Flash button.
Adding and Deleting Users Adding a User Step 1: Click on the link Web User Management > Users. Step 2: Click on the Add User button. Step 3:
Configure the new user. Type the username, the password (twice) and select a user group, depending on the access privilege desired. Leave the item Enabled checked.
User Guide
409
Page 410
Appendix F - Web User Management Step 4: Click on the Submit button. A confirmation message will appear. Step 5:
If there are more users to be added, repeat the steps 1 to 4.
Step 6: Click on the link Web User Management > Load/Save Web Configuration. Step 7: Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf. Step 8: Click on the link Administration > Load/Save Configuration. Step 9: Click on the Save to Flash button. Step 10: Test the user(s) added. Log out the current user (Go to the link Application > Logout) and log in again, with the new user.
Deleting a User The root user is delete-protected, and, because of that, it cannot be removed from the user list. The other users can be deleted. Step 1: Click on the link Web User Management > Users. Step 2: Select the user to be deleted and click on the Delete User button. A confirmation message will appear. Step 3: If there are more users to be deleted, repeat the steps 1 and 2. Step 4: Click on the link Web User Management > Load/Save Web Configuration. Step 5: Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf Step 6: Click on the link Administration > Load/Save Configuration. Step 7: Click on the Save to Flash button.
410
Cyclades-TS
Page 411
Appendix F - Web User Management Adding and Deleting User Groups The default configuration already comes with four user groups, and, for most of the cases, they will be enough. However, you have the option of editing the user groups.
Adding a group Step 1: Click on the link Web User Management > Groups. Step 2: Click on the Add Group button Step 3: Configure the new group. Type the group name and select the access privilege this group will have. Leave the Enabled item checked. Step 4: Click on the Submit button. A confirmation message will appear. Step 5: If there are more groups to be added, repeat the steps 1 to 4. Step 6: Click on the link Web User Management > Load/Save Web Configuration. Step 7: Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf Step 8:
Click on the link Administration > Load/Save Configuration.
Step 9: Click on the Save to Flash button.
Deleting a group Before deleting a group, make sure that there are no users using that group. Step 1: Click on the link Web User Management > Groups. Step 2: Select the group to be deleted and click on the Delete Group button. A confirmation message will appear.
User Guide
411
Page 412
Appendix F - Web User Management Step 3: If there are more groups to be deleted, repeat the steps 1 and 2. Step 4: Click on the link Web User Management > Load/Save Web Configuration. Step 5: Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf Step 6: Click on the link Administration > Load/Save Configuration. Step 7: Click on the Save to Flash button.
Adding and Deleting Access Limits The default configuration has the access limits set according to the functionality of the Web page. •
Pages or forms which causes the configuration to change will have FULL privilege (only high-privileged users will have access to it).
•
Pages which change the status of the board without changing the configuration will have ADMINISTRATOR privilege;
•
Pages with the system information will have MONITOR privilege.
•
Only application pages will have USER privilege.
Changing access limits is not recommended, unless you need to create or change the web server pages; even so, the user should place the web pages in the subdirectories with the privilege desired. For example, a page with ADMINISTRATOR privilege should be placed in /adm.
Adding an Access Limit Step 1: Click on the link Web User Management > Access Limits. Step 2: Click on the Add Access Limit button.
412
Cyclades-TS
Page 413
Appendix F - Web User Management Step 3: Configure the new access limit. Type the URL (or the subdirectory), and select the access privilege. If authentication is required to access the page, select COOKIE ACCESS; otherwise, select FULL ACCESS. If this page is confidential, check the Secure box. Step 4: Click on the Submit button. A confirmation message will appear. Step 5: If there are more access limits to be added, repeat the steps 1 to 4. Step 6: Click on the link Web User Management > Load/Save Web Configuration. Step 7: Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf. Step 8:
Click on the link Administration > Load/Save Configuration.
Step 9: Click on the Save to Flash button.
Deleting an access limit Step 1: Click on the link Web User Management > Access Limits. Step 2: Select the access limit to be deleted and click on the Delete Access Limit button. A confirmation message will appear. Step 3: If there are more access limits to be deleted, repeat the steps 1 and 2. Step 4: Click on the link Web User Management > Load/Save Web Configuration. Step 5:
Click on the Save Configuration button. This will save the users added in the file /etc/websum.conf
Step 6: Click on the link Administration > Load/Save Configuration. Step 7:
Click on the Save to Flash button.
User Guide
413
Page 414
Appendix F - Web User Management
This page has been left intentionally blank.
414
Cyclades-TS