Basic Server User Management
This section is wildly out-of-date. You can query multiple things with the CLI as well as setup a basic browser view for some administrative tasks.
Currently as of v0.22.3 there is no graphical interface for user management from the server level thus you have to use python scripts for user management.
always make sure that you’re in a python shell first before running any of these scripts. Just simply open a terminal and type in
python to open a shell, you can exit the shell with just
PlanarAlly uses peewee as its database orm tool.
List all usernames on server
from src.models import User [ u.name for u in User.select() ]
Change the password for a specific user
from src.models import User u = User.get(name="*some-username*") u.set_password("*new-passowrd*") u.save()