*pveum* ` [ARGS] [OPTIONS]` *pveum acl delete* ` --roles ` `[OPTIONS]` Update Access Control List (add or remove permissions). ``: `` :: Access control path `--groups` `` :: List of groups. `--propagate` `` ('default =' `1`):: Allow to propagate (inherit) permissions. `--roles` `` :: List of roles. `--tokens` `` :: List of API tokens. `--users` `` :: List of users. *pveum acl list* `[FORMAT_OPTIONS]` Get Access Control List (ACLs). *pveum acl modify* ` --roles ` `[OPTIONS]` Update Access Control List (add or remove permissions). ``: `` :: Access control path `--groups` `` :: List of groups. `--propagate` `` ('default =' `1`):: Allow to propagate (inherit) permissions. `--roles` `` :: List of roles. `--tokens` `` :: List of API tokens. `--users` `` :: List of users. *pveum acldel* An alias for 'pveum acl delete'. *pveum aclmod* An alias for 'pveum acl modify'. *pveum group add* `` `[OPTIONS]` Create new group. ``: `` :: no description available `--comment` `` :: no description available *pveum group delete* `` Delete group. ``: `` :: no description available *pveum group list* `[FORMAT_OPTIONS]` Group index. *pveum group modify* `` `[OPTIONS]` Update group data. ``: `` :: no description available `--comment` `` :: no description available *pveum groupadd* An alias for 'pveum group add'. *pveum groupdel* An alias for 'pveum group delete'. *pveum groupmod* An alias for 'pveum group modify'. *pveum help* `[OPTIONS]` Get help about specified command. `--extra-args` `` :: Shows help for a specific command `--verbose` `` :: Verbose output format. *pveum passwd* `` `[OPTIONS]` Change user password. ``: `` :: Full User ID, in the `name@realm` format. `--confirmation-password` `` :: The current password of the user performing the change. *pveum pool add* `` `[OPTIONS]` Create new pool. ``: `` :: no description available `--comment` `` :: no description available *pveum pool delete* `` Delete pool. ``: `` :: no description available *pveum pool list* `[OPTIONS]` `[FORMAT_OPTIONS]` List pools or get pool configuration. `--poolid` `` :: no description available `--type` `` :: no description available + NOTE: Requires option(s): `poolid` *pveum pool modify* `` `[OPTIONS]` Update pool. ``: `` :: no description available `--allow-move` `` ('default =' `0`):: Allow adding a guest even if already in another pool. The guest will be removed from its current pool and added to this one. `--comment` `` :: no description available `--delete` `` ('default =' `0`):: Remove the passed VMIDs and/or storage IDs instead of adding them. `--storage` `` :: List of storage IDs to add or remove from this pool. `--vms` `` :: List of guest VMIDs to add or remove from this pool. *pveum realm add* ` --type ` `[OPTIONS]` Add an authentication server. ``: `` :: Authentication domain ID `--acr-values` `^[^\x00-\x1F\x7F <>#"]*$` :: Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request. `--autocreate` `` ('default =' `0`):: Automatically create users if they do not exist. `--base_dn` `` :: LDAP base domain name `--bind_dn` `` :: LDAP bind domain name `--capath` `` ('default =' `/etc/ssl/certs`):: Path to the CA certificate store `--case-sensitive` `` ('default =' `1`):: username is case-sensitive `--cert` `` :: Path to the client certificate `--certkey` `` :: Path to the client certificate key `--check-connection` `` ('default =' `0`):: Check bind connection to the server. `--client-id` `` :: OpenID Client ID `--client-key` `` :: OpenID Client Key `--comment` `` :: Description. `--default` `` :: Use this as default realm `--domain` `\S+` :: AD domain name `--filter` `` :: LDAP filter for user sync. `--group_classes` `` ('default =' `groupOfNames, group, univentionGroup, ipausergroup`):: The objectclasses for groups. `--group_dn` `` :: LDAP base domain name for group sync. If not set, the base_dn will be used. `--group_filter` `` :: LDAP filter for group sync. `--group_name_attr` `` :: LDAP attribute representing a groups name. If not set or found, the first value of the DN will be used as name. `--issuer-url` `` :: OpenID Issuer Url `--mode` `` ('default =' `ldap`):: LDAP protocol mode. `--password` `` :: LDAP bind password. Will be stored in '/etc/pve/priv/realm/.pw'. `--port` ` (1 - 65535)` :: Server port. `--prompt` `(?:none|login|consent|select_account|\S+)` :: Specifies whether the Authorization Server prompts the End-User for reauthentication and consent. `--scopes` `` ('default =' `email profile`):: Specifies the scopes (user details) that should be authorized and returned, for example 'email' or 'profile'. `--secure` `` :: Use secure LDAPS protocol. DEPRECATED: use 'mode' instead. `--server1` `` :: Server IP address (or DNS name) `--server2` `` :: Fallback Server IP address (or DNS name) `--sslversion` `` :: LDAPS TLS/SSL version. It's not recommended to use version older than 1.2! `--sync-defaults-options` `[enable-new=<1|0>] [,full=<1|0>] [,purge=<1|0>] [,remove-vanished=([acl];[properties];[entry])|none] [,scope=]` :: The default options for behavior of synchronizations. `--sync_attributes` `\w+=[^,]+(,\s*\w+=[^,]+)*` :: Comma separated list of key=value pairs for specifying which LDAP attributes map to which PVE user field. For example, to map the LDAP attribute 'mail' to PVEs 'email', write 'email=mail'. By default, each PVE user field is represented by an LDAP attribute of the same name. `--tfa` `type= [,digits=] [,id=] [,key=] [,step=] [,url=]` :: Use Two-factor authentication. `--type` `` :: Realm type. `--user_attr` `\S{2,}` :: LDAP user attribute name `--user_classes` `` ('default =' `inetorgperson, posixaccount, person, user`):: The objectclasses for users. `--username-claim` `` :: OpenID claim used to generate the unique username. `--verify` `` ('default =' `0`):: Verify the server's SSL certificate *pveum realm delete* `` Delete an authentication server. ``: `` :: Authentication domain ID *pveum realm list* `[FORMAT_OPTIONS]` Authentication domain index. *pveum realm modify* `` `[OPTIONS]` Update authentication server settings. ``: `` :: Authentication domain ID `--acr-values` `^[^\x00-\x1F\x7F <>#"]*$` :: Specifies the Authentication Context Class Reference values that theAuthorization Server is being requested to use for the Auth Request. `--autocreate` `` ('default =' `0`):: Automatically create users if they do not exist. `--base_dn` `` :: LDAP base domain name `--bind_dn` `` :: LDAP bind domain name `--capath` `` ('default =' `/etc/ssl/certs`):: Path to the CA certificate store `--case-sensitive` `` ('default =' `1`):: username is case-sensitive `--cert` `` :: Path to the client certificate `--certkey` `` :: Path to the client certificate key `--check-connection` `` ('default =' `0`):: Check bind connection to the server. `--client-id` `` :: OpenID Client ID `--client-key` `` :: OpenID Client Key `--comment` `` :: Description. `--default` `` :: Use this as default realm `--delete` `` :: A list of settings you want to delete. `--digest` `` :: Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. `--domain` `\S+` :: AD domain name `--filter` `` :: LDAP filter for user sync. `--group_classes` `` ('default =' `groupOfNames, group, univentionGroup, ipausergroup`):: The objectclasses for groups. `--group_dn` `` :: LDAP base domain name for group sync. If not set, the base_dn will be used. `--group_filter` `` :: LDAP filter for group sync. `--group_name_attr` `` :: LDAP attribute representing a groups name. If not set or found, the first value of the DN will be used as name. `--issuer-url` `` :: OpenID Issuer Url `--mode` `` ('default =' `ldap`):: LDAP protocol mode. `--password` `` :: LDAP bind password. Will be stored in '/etc/pve/priv/realm/.pw'. `--port` ` (1 - 65535)` :: Server port. `--prompt` `(?:none|login|consent|select_account|\S+)` :: Specifies whether the Authorization Server prompts the End-User for reauthentication and consent. `--scopes` `` ('default =' `email profile`):: Specifies the scopes (user details) that should be authorized and returned, for example 'email' or 'profile'. `--secure` `` :: Use secure LDAPS protocol. DEPRECATED: use 'mode' instead. `--server1` `` :: Server IP address (or DNS name) `--server2` `` :: Fallback Server IP address (or DNS name) `--sslversion` `` :: LDAPS TLS/SSL version. It's not recommended to use version older than 1.2! `--sync-defaults-options` `[enable-new=<1|0>] [,full=<1|0>] [,purge=<1|0>] [,remove-vanished=([acl];[properties];[entry])|none] [,scope=]` :: The default options for behavior of synchronizations. `--sync_attributes` `\w+=[^,]+(,\s*\w+=[^,]+)*` :: Comma separated list of key=value pairs for specifying which LDAP attributes map to which PVE user field. For example, to map the LDAP attribute 'mail' to PVEs 'email', write 'email=mail'. By default, each PVE user field is represented by an LDAP attribute of the same name. `--tfa` `type= [,digits=] [,id=] [,key=] [,step=] [,url=]` :: Use Two-factor authentication. `--user_attr` `\S{2,}` :: LDAP user attribute name `--user_classes` `` ('default =' `inetorgperson, posixaccount, person, user`):: The objectclasses for users. `--verify` `` ('default =' `0`):: Verify the server's SSL certificate *pveum realm sync* `` `[OPTIONS]` Syncs users and/or groups from the configured LDAP to user.cfg. NOTE: Synced groups will have the name 'name-$realm', so make sure those groups do not exist to prevent overwriting. ``: `` :: Authentication domain ID `--dry-run` `` ('default =' `0`):: If set, does not write anything. `--enable-new` `` ('default =' `1`):: Enable newly synced users immediately. `--full` `` :: DEPRECATED: use 'remove-vanished' instead. If set, uses the LDAP Directory as source of truth, deleting users or groups not returned from the sync and removing all locally modified properties of synced users. If not set, only syncs information which is present in the synced data, and does not delete or modify anything else. `--purge` `` :: DEPRECATED: use 'remove-vanished' instead. Remove ACLs for users or groups which were removed from the config during a sync. `--remove-vanished` `([acl];[properties];[entry])|none` ('default =' `none`):: A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: 'entry' removes the user/group when not returned from the sync. 'properties' removes the set properties on existing user/group that do not appear in the source (even custom ones). 'acl' removes acls when the user/group is not returned from the sync. Instead of a list it also can be 'none' (the default). `--scope` `` :: Select what to sync. *pveum role add* `` `[OPTIONS]` Create new role. ``: `` :: no description available `--privs` `` :: no description available *pveum role delete* `` Delete role. ``: `` :: no description available *pveum role list* `[FORMAT_OPTIONS]` Role index. *pveum role modify* `` `[OPTIONS]` Update an existing role. ``: `` :: no description available `--append` `` :: no description available + NOTE: Requires option(s): `privs` `--privs` `` :: no description available *pveum roleadd* An alias for 'pveum role add'. *pveum roledel* An alias for 'pveum role delete'. *pveum rolemod* An alias for 'pveum role modify'. *pveum ticket* `` `[OPTIONS]` Create or verify authentication ticket. ``: `` :: User name `--new-format` `` ('default =' `1`):: This parameter is now ignored and assumed to be 1. `--otp` `` :: One-time password for Two-factor authentication. `--path` `` :: Verify ticket, and check if user have access 'privs' on 'path' + NOTE: Requires option(s): `privs` `--privs` `` :: Verify ticket, and check if user have access 'privs' on 'path' + NOTE: Requires option(s): `path` `--realm` `` :: You can optionally pass the realm using this parameter. Normally the realm is simply added to the username @. `--tfa-challenge` `` :: The signed TFA challenge string the user wants to respond to. *pveum user add* `` `[OPTIONS]` Create new user. ``: `` :: Full User ID, in the `name@realm` format. `--comment` `` :: no description available `--email` `` :: no description available `--enable` `` ('default =' `1`):: Enable the account (default). You can set this to '0' to disable the account `--expire` ` (0 - N)` :: Account expiration date (seconds since epoch). '0' means no expiration date. `--firstname` `` :: no description available `--groups` `` :: no description available `--keys` `[0-9a-zA-Z!=]{0,4096}` :: Keys for two factor auth (yubico). `--lastname` `` :: no description available `--password` `` :: Initial password. *pveum user delete* `` Delete user. ``: `` :: Full User ID, in the `name@realm` format. *pveum user list* `[OPTIONS]` `[FORMAT_OPTIONS]` User index. `--enabled` `` :: Optional filter for enable property. `--full` `` ('default =' `0`):: Include group and token information. *pveum user modify* `` `[OPTIONS]` Update user configuration. ``: `` :: Full User ID, in the `name@realm` format. `--append` `` :: no description available + NOTE: Requires option(s): `groups` `--comment` `` :: no description available `--email` `` :: no description available `--enable` `` ('default =' `1`):: Enable the account (default). You can set this to '0' to disable the account `--expire` ` (0 - N)` :: Account expiration date (seconds since epoch). '0' means no expiration date. `--firstname` `` :: no description available `--groups` `` :: no description available `--keys` `[0-9a-zA-Z!=]{0,4096}` :: Keys for two factor auth (yubico). `--lastname` `` :: no description available *pveum user permissions* `[]` `[OPTIONS]` `[FORMAT_OPTIONS]` Retrieve effective permissions of given user/token. ``: `(?^:^(?^:[^\s:/]+)\@(?^:[A-Za-z][A-Za-z0-9\.\-_]+)(?:!(?^:[A-Za-z][A-Za-z0-9\.\-_]+))?$)` :: User ID or full API token ID `--path` `` :: Only dump this specific path, not the whole tree. *pveum user tfa delete* `` `[OPTIONS]` Delete TFA entries from a user. ``: `` :: Full User ID, in the `name@realm` format. `--id` `` :: The TFA ID, if none provided, all TFA entries will be deleted. *pveum user tfa list* `[]` List TFA entries. ``: `` :: Full User ID, in the `name@realm` format. *pveum user tfa unlock* `` Unlock a user's TFA authentication. ``: `` :: Full User ID, in the `name@realm` format. *pveum user token add* ` ` `[OPTIONS]` `[FORMAT_OPTIONS]` Generate a new API token for a specific user. NOTE: returns API token value, which needs to be stored as it cannot be retrieved afterwards! ``: `` :: Full User ID, in the `name@realm` format. ``: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` :: User-specific token identifier. `--comment` `` :: no description available `--expire` ` (0 - N)` ('default =' `same as user`):: API token expiration date (seconds since epoch). '0' means no expiration date. `--privsep` `` ('default =' `1`):: Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user. *pveum user token list* `` `[FORMAT_OPTIONS]` Get user API tokens. ``: `` :: Full User ID, in the `name@realm` format. *pveum user token modify* ` ` `[OPTIONS]` `[FORMAT_OPTIONS]` Update API token for a specific user. ``: `` :: Full User ID, in the `name@realm` format. ``: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` :: User-specific token identifier. `--comment` `` :: no description available `--expire` ` (0 - N)` ('default =' `same as user`):: API token expiration date (seconds since epoch). '0' means no expiration date. `--privsep` `` ('default =' `1`):: Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user. *pveum user token permissions* ` ` `[OPTIONS]` `[FORMAT_OPTIONS]` Retrieve effective permissions of given token. ``: `` :: Full User ID, in the `name@realm` format. ``: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` :: User-specific token identifier. `--path` `` :: Only dump this specific path, not the whole tree. *pveum user token remove* ` ` `[FORMAT_OPTIONS]` Remove API token for a specific user. ``: `` :: Full User ID, in the `name@realm` format. ``: `(?^:[A-Za-z][A-Za-z0-9\.\-_]+)` :: User-specific token identifier. *pveum useradd* An alias for 'pveum user add'. *pveum userdel* An alias for 'pveum user delete'. *pveum usermod* An alias for 'pveum user modify'.