Change 1H Interface Access Options

From Wiki

Jump to: navigation, search

Question

How can I password protect the 1H local interface for my server?

Answer

We have created a helpful script that you can use for automatically managing access to your 1H local interface. The script in question is:

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

And you can use it by running the script with the corresponding option:

Usage: /usr/local/1h/bin/pwmanager.sh change|add|remove|list|enable|disable [username] [password]
change    - Change password for user 'username'. Password required.
add       - Add new user 'username' to the list of authorized users. Password required.
remove    - Remove user 'username' from the list of authorized users.
suspend   - Temporary disable access for user 'username' to the 1H web interfaces.
unsuspend - Enable previously disabled access for user 'username' to the 1H web interfaces.
enable    - Enable password authentication for 1H web interfaces.
disable   - Disable password authentication for 1H web interfaces.
status    - Report current status of the password protection system (enabled/disabled, active/suspended users etc.).
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox