SUPYSONIC-CLI-USER(1)

πŸ“¦
version 0.7.9 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– SUPYSONIC-CLI-USER πŸ’–

okay bestie, so this is a page from the Supysonic manual β€” it's manual section 1, and it's all about supysonic-cli-user, the little command that handles user management for you. if you've ever been like "who even has an account on my server" β€” this is the page. let's go ✨


✨ NAME ✨

supysonic-cli-user β€” Supysonic user management commands 🫢


🌸 SYNOPSIS 🌸

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>

πŸ’… DESCRIPTION πŸ’…

the supysonic-cli user subcommand is literally the user manager of the whole thing. it lets you:

  • list everyone πŸ‘€
  • add a new user βž•
  • delete an existing user πŸ—‘οΈ
  • change their password πŸ”‘
  • change their roles πŸ‘‘

that's the whole vibe. no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” show me every single user, all of them, the whole roster πŸ’–
  • add <user> [--password <password>] [--email <email>] β€” makes a brand new user called <user>. if you don't hand over a password with the --password option, it'll prompt you for one instead. bestie it will literally just ask.
  • delete <user> β€” bye bye, deletes the user <user> πŸ‘‹
  • changepass <user> [--password <password>] β€” swaps out the password for user <user>. no password given? it prompts you for the new one. easy.
  • setroles [--admin | --noadmin] [--jukebox | --nojukebox] <user> β€” gives rights to user <user>, or takes them away. choose your fighter 😀
  • rename <user> <newname> β€” glow-up time, renames user <user> to <newname> ✨

⭐ OPTIONS ⭐

  • -h, --help β€” shows help and dips out. where this option shows up changes what you get: either the list of available commands, or the help for one specific command. it's giving context-aware πŸ’…
  • -p <password>, --password <password> β€” sets the user's password when you're creating them.
  • -e <email>, --email <email> β€” sets the user's email.

the next options are all about user roles. they come in pairs β€” one option in the pair grants the right, the other revokes it. and obviously, the two options in the same pair are mutually exclusive, you can't pick both, that's the whole point bestie.

the long options are named after the right they control, and you slap a no in front to revoke it. for the short options it's the other way: the UPPER CASE letter grants the right, and the lower case letter revokes it. and here's the cute part β€” short options can be combined into one, like -aJ, which both revokes the admin right and grants the jukebox one. one little cluster, two whole decisions. iconic.

  • -A, --admin β€” grants admin rights πŸ‘‘
  • -a, --noadmin β€” revokes admin rights 🚫
  • -J, --jukebox β€” grants jukebox rights 🎡
  • -j, --nojukebox β€” revokes jukebox rights πŸ”‡

🌈 EXAMPLES 🌈

say you wanna add a new admin user named MyUserName with the password MyAwesomePassword. here's the move:

$ supysonic-cli user add MyUserName -p MyAwesomePassword
$ supysonic-cli user setroles -A MyUserName

first you create them, then you hand them the crown. two commands, done. slay 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

supysonic-cli (1), supysonic-cli-folder (1), supysonic-server (1), supysonic-daemon (1)


πŸ’œ AUTHOR πŸ’œ

Louis-Philippe VΓ©ronneau, Alban FΓ©ron


2013-2023, Alban FΓ©ron


k that's the whole page bestie. go forth and manage your users, you've got this πŸ’–

and for the lil sign-off: this was Supysonic version 0.7.9, dated Apr 15, 2025 β€” no cap, that's the actual footer. love that for us βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from