1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-09-20 03:11:04 +00:00
supysonic/docs/man/supysonic-cli-user.rst
2020-01-11 22:41:36 -05:00

64 lines
1.3 KiB
ReStructuredText
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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