In collaboration with BigBearCasaOS there's now a more user friendly was to handle multiple users. Please see https://community.bigbeartechworld.com/t/added-bigbearcasaos-user-management-to-bigbearcasaos/2227
A Python script for managing CasaOS users directly in the user.db database. Features include:
- Listing users
- Adding new users
- Editing user passwords
- Removing users
- Resetting the database
Note: Requires sudo permissions and Python 3.x. Always backs up the database before making changes.
sudo python3 program.pysudo cp program.py /usr/bin/casaos-users-manager
sudo chmod +x /usr/bin/casaos-users-managerAnd run with
sudo casaos-users-manager
pip install pyinstallerpyinstaller --onefile program.pyMake a copy of the script from the ./dist folder and then run:
sudo ./program