Add User for 1H Interface

From Wiki

Jump to: navigation, search

Question

How to add a new authorized user for the 1H Interface?

Answer

Adding a new authorized user is not hard. You can easily manage password protection for the 1H interface via the following script:

/usr/local/1h/bin/pwmanager.sh

Usage: /usr/local/1h/bin/pwmanager.sh change|add|remove|list|enable|disable [username] [password]

Where:


It is also possible to manually add a user. The file where 1H interface passwords are kept is /home/1h/etc/web.passwd. You can add additional authorized users by executing the following command:

/usr/local/apache/bin/htpasswd /home/1h/etc/web.passwd <username>

You will be prompted to type a password then confirm by typing it again. The <username> should be replaced with the actual username you would like to authenticate with. That is all. If you want to remove access for a newly added user you can do so by deleting the line for its username from the /home/1h/etc/web.passwd file.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox