SUPYSONIC-CLI-USER(1) | Supysonic | SUPYSONIC-CLI-USER(1) |
supysonic-cli-user - Supysonic user management commands
supysonic-cli user --help
supysonic-cli user list
supysonic-cli user add <user> [--password <password>] [--email <email>]
supysonic-cli user delete <user>
supysonic-cli user changepass <user> [--password <password>]
supysonic-cli user setroles [--admin | --noadmin] [--jukebox | --nojukebox] <user>
supysonic-cli user rename <user> <newname>
The supysonic-cli user subcommand manages users, allowing to list them, add a new user, delete an existing user, and change their password or roles.
The next options relate to user roles. They work in pairs, one option granting a right while the other revokes it; obviously options of the same pair are mutually exclusive.
The long options are named with the matching right, prefix it with a no to revoke the right. For short options, the upper case letter grants the right while the lower case letter revokes it. Short options might be combined into a single one such as -aJ to both revoke the admin right and grant the jukebox one.
To add a new admin user named MyUserName having password MyAwesomePassword:
$ supysonic-cli user add MyUserName -p MyAwesomePassword $ supysonic-cli user setroles -A MyUserName
supysonic-cli (1), supysonic-cli-folder (1), supysonic-server (1), supysonic-daemon (1)
Louis-Philippe Véronneau, Alban Féron
2013-2022, Alban Féron
December 14, 2022 | 0.7.2 |