User Management Jketterl - Openwebrx
User Management Jketterl - Openwebrx
User Management Jketterl - Openwebrx
User Management
Jump to bottom
With the introduction of the web configuration interface, OpenWebRX 1.0 also received a user database to be
able to manage access to that interface. So, in order to be able to access the web configuration interface, you
must create a user.
For security reasons, there is no default user and password in any of the installation methods, so this step is
mandatory.
Managing users is currently done on the command line only, so the first step is to gain access to a shell on your
receiver via keyboard and mouse, SSH, VNC or similar method.
The commands to manage your users are typically called through the openwebrx tool, which is available on all
packaged installations (including the RPi images). Manual installations can run the same commands through the
openwebrx.py file that is in the root of the source tree. Docker installations can run the command, too, but it is
somewhat cumbersome to get to, so a dedicated initialization method is available in the docker images.
Available commands
Most commands require you to pass a [username] to be able to perform their respective tasks.
There is currently no additional authorization method in place, so all users that are currently active will be able to
access the web configuration interface.
https://github.com/jketterl/openwebrx/wiki/User-Management 1/3
11/2/23, 14:31 User Management · jketterl/openwebrx Wiki · GitHub
The user database itself is stored in /var/lib/openwebrx/users.json . The file contains no actual passwords, and
all password hashes are salted. This is in accordance with best practises for storage of credentials, and in case of a
leak should make cracking an actual password hard, but can not make it impossible. The permissions of this file
should therefore be as restrictive as possible.
Recommended setup: The file should be owned by the user and group that OpenWebRX runs as, and only this
user should have read and write permissions to the file ( chmod 0600 ... ).
You can also create the "admin" user at a later time, or reset its password, by running the command dpkg-
reconfigure openwebrx .
The user database will be stored along the configuration files under /var/lib/openwebrx which should be
located on a volume. If this has been setup correctly, the environment variables can be removed after the initial
setup has succeeded.
The OpenWebRX docker images will pass any arguments they receive to OpenWebRX itself. This makes it possible
to run the container like this to execute admin commands:
docker run -it [... other docker arguments ...] jketterl/openwebrx-full admin adduser [username]
Please note that you probably will at least need to fill in the mount information for your configuration for this to
work. More docker settings may be required depending on your setup.
https://github.com/jketterl/openwebrx/wiki/User-Management 2/3
11/2/23, 14:31 User Management · jketterl/openwebrx Wiki · GitHub
Pages 28
Home
Setup
Supported Hardware
Setup Guide
Docker
Manual installation
Upgrading an installation
Migrating to OpenWebRX 1.0
RHEL specific notes
Configuration
User Management
Configuration
Bookmarks
Background decoding
How to get openwebrx stats into collectd
Usage
Supported clients
Usage
API
Troubleshooting FAQ
Troubleshooting FAQ
https://github.com/jketterl/openwebrx.wiki.git
https://github.com/jketterl/openwebrx/wiki/User-Management 3/3