2019-07-13 22:19:59 +00:00
|
|
|
|
==================
|
|
|
|
|
supysonic-cli-user
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
----------------------------------
|
|
|
|
|
Supysonic user management commands
|
|
|
|
|
----------------------------------
|
|
|
|
|
|
|
|
|
|
:Author: Louis-Philippe Véronneau
|
|
|
|
|
:Date: 2019
|
|
|
|
|
:Manual section: 1
|
|
|
|
|
|
|
|
|
|
Synopsis
|
|
|
|
|
========
|
|
|
|
|
|
2019-10-27 16:07:03 +00:00
|
|
|
|
| supysonic-cli user **add** <user> [-p <password>] [-e <email>]
|
2019-07-13 22:19:59 +00:00
|
|
|
|
| supysonic-cli user **delete** <user>
|
|
|
|
|
| supysonic-cli user **changepass** <user> <password>
|
|
|
|
|
| supysonic-cli user **list**
|
2019-10-27 16:07:03 +00:00
|
|
|
|
| supysonic-cli user **setroles** [-a|-A] [-j|-J] <user>
|
2019-07-13 22:19:59 +00:00
|
|
|
|
|
|
|
|
|
Arguments
|
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
| **add** Add a new user
|
|
|
|
|
| **delete** Delete the user
|
|
|
|
|
| **changepass** Change the user's password
|
|
|
|
|
| **list** List all the users
|
2019-10-27 16:07:03 +00:00
|
|
|
|
| **setroles** Give or remove rights to the user
|
2019-07-13 22:19:59 +00:00
|
|
|
|
|
|
|
|
|
Options
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
| **-p** | **--password** *<password>*
|
|
|
|
|
| Specify the user's password
|
|
|
|
|
|
|
|
|
|
| **-e** | **--email** *<email>*
|
|
|
|
|
| Specify the user's email
|
|
|
|
|
|
2019-10-27 16:07:03 +00:00
|
|
|
|
| **-a** | **--noadmin**
|
|
|
|
|
| Revoke admin rights
|
|
|
|
|
|
|
|
|
|
| **-A** | **--admin**
|
|
|
|
|
| Grant admin rights
|
|
|
|
|
|
|
|
|
|
| **-j** | **--nojukebox**
|
|
|
|
|
| Revoke jukebox rights
|
|
|
|
|
|
|
|
|
|
| **-J** | **--jukebox**
|
|
|
|
|
| Grant jukebox rights
|
2019-07-13 22:19:59 +00:00
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
To add a new admin user::
|
|
|
|
|
|
|
|
|
|
$ supysonic-cli user add MyUserName -a -p MyAwesomePassword
|
|
|
|
|
|
|
|
|
|
See Also
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
supysonic-cli(1), supysonic-cli-folder(1)
|