Question & Answer
Question
How can we add add a login to the Passive Capture Application's (PCA) web console?
Answer
Contents:
Question:
How can we add add a login to the Passive Capture Application's (PCA) web console?
Answer:
To require username/password when you access the web console:
Create the Web Server user database file by using the following commands:
- Edit the file /usr/local/ctccap/etc/runtime.conf.
- Search the file for:
httpd_userauth_
- If the string is not present add the following parameters to the end of the file.
- If these entries exist edit them to the following values:
httpd_userauth_enable="YES"
httpd_userauth_realm="PCAv2"
httpd_userauth_require="valid-user"
httpd_userauth_type="Basic"
Note: Values for httpd_userauth_enable must be in all capital letters as in the
previous example (YES).
- To add a user or change their password use one of the following commands replacing johndoe with the name of the new or existing user:
With the following command you are prompted to enter the new password when the command is run:
Note: Tealeaf recommends using this method for creating passwords. If this method is not used passwords cannot be longer than 8 characters.
/usr/local/ctccap/bin/htpasswd -m \
/usr/local/ctccap/etc/tealeaf-web.users johndoe
When the -b option is added the password (mypassword) can be specified as part of the command:
/usr/local/ctccap/bin/htpasswd -mb \
/usr/local/ctccap/etc/tealeaf-web.users johndoe mypassword
- The changes mentioned in the previous command do not affect PortalStatus's use of the web server to retrieve status information.
- The updated configuration file takes effect the next time the Web Server starts.
Applies to Version 8.8 (PCA 3620)
"Was this topic helpful?
Document Information
Modified date:
08 December 2018
UID
ibm10777763