ACL

Users and what each may do: logging in, the commands, keys and channels a user may use, and passwords.

15 commands in KiviDB 1.2.2. Every command.

  • ACL: Manages users and what each may do: which commands it may run, which keys it may read or write, which channels it may use.
    • ACL CAT: Returns the command categories, or the commands of one category.
    • ACL DELUSER: Deletes one or more users.
    • ACL DRYRUN: Tells whether a user could run a command, without running it.
    • ACL GENPASS: Returns a random password, as hexadecimal digits, from the system's secure random source.
    • ACL GETUSER: Returns a user's rules: its flags, the SHA-256 hashes of its passwords, its command rules, its key and channel patterns, and its selectors.
    • ACL HELP: Lists the ACL subcommands, each with its arguments and a line on what it does, as the server knows them.
    • ACL LIST: Returns every user as a line of the ACL file format: user <name> <on|off> <passwords> <key patterns> <channel patterns> <command rules>.
    • ACL LOAD: Reads the ACL file again and makes its users the server's users, replacing all of those in memory.
    • ACL LOG: Returns recent security events, newest first: failed logins, and commands, keys or channels refused for lack of permission.
    • ACL SAVE: Writes every user in memory, with its rules and passwords, to the ACL file, so that they are there after a restart.
    • ACL SETUSER: Creates the user username, or changes it, by applying rules from left to right.
    • ACL USERS: Returns the names of every user the server has, default included, sorted by name.
    • ACL WHOAMI: Returns the name of the user the connection is logged in as.
  • AUTH: Logs the connection in as a user: AUTH username password, or, with a password only, as the default user.