1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00
supysonic/docs/man/supysonic-cli-user.rst

64 lines
1.3 KiB
ReStructuredText
Raw Normal View History

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 -p MyAwesomePassword
$ supysonic-cli user setroles -A MyUserName
2019-07-13 22:19:59 +00:00
See Also
========
supysonic-cli(1), supysonic-cli-folder(1)