CrushMFT Documentation

Every user field#

A user is a list of fields: a name, a password, limits, the look of their pages. The User Manager shows them as fields on its tabs; underneath, each has a key, and a user's file user.XML holds the keys that this user sets for themselves. Whatever a user does not set comes from the users they inherit from, and at the end from the default user: Templates.

This page lists the fields by their keys, in the groups the server uses to decide who may change what. The keys are what you meet in the API, in jobs that make or change users (UsersList, UserVariable), in the mappings of sign-in plugins, and in user.XML itself.

Reading the tables#

Column Is
Key the field's name in user.XML and in the API
In the User Manager the tab and the name of the field there, where the server's map of its pages names one
On the default user the value the default user of a new server has. Empty cell: the default user does not set it.
See a page of this wiki that names the key

Each group has a permission of its own: an administrator with a role may change the fields of a group only if the role holds that permission. See The permission catalog.

Account#

Permission users.user.edit.account, tier 2.

Key In the User Manager On the default user See
account_enabled, kept as max_logins Setup › Account: Account Enabled 0
first_name Setup › User Info: First Name empty
last_name Setup › User Info: Last Name empty
user_info
notes empty
extraTextReference

Rename#

Permission users.user.edit.rename, tier 1. Names are references elsewhere.

Key In the User Manager On the default user See
user_name default

Credentials#

Permission users.user.edit.credentials, tier 1. Each is a way to log in as the user. ssh_public_keys may be a path.

Key In the User Manager On the default user See
password Setup › Account: Password kept encrypted
salt Setup › Salt setup: Salt
auto_set_pass false
twofactor_secret
otp_auth Setup: Two factor OTP/SMS authentication.
ssh_public_keys empty
publickey_password kept encrypted
publickey_keyboardinteractive

Contact#

Permission users.user.edit.contact, tier 1. Reset mail and one-time codes go here.

Key In the User Manager On the default user See
email Setup › User Info: Email empty
phone
sendUserPassInfoMail

Password rules#

Permission users.user.edit.password-rules, tier 1. Can weaken the account.

Key In the User Manager On the default user See
expire_password_days 30
password_history_count
unsafe_password_chars
random_password_length
min_password_length
min_password_numbers
min_password_lowers
min_password_uppers
min_password_specials

Restrictions#

Permission users.user.edit.restrictions, tier 2.

Key In the User Manager On the default user See
account_expire Restrictions › Account Expiration: Account Expires empty
max_logins Setup › Account: Account Enabled 0
failure_count_max
login_hammer_attempts
max_logins_ip 0
ignore_max_logins false
day_of_week_allow 1234567
hours_of_day 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,…
allow_user_shares false
content_restriction
block_folder_movement
file_filter empty Misc File Filters
block_access empty

Network restrictions#

Permission users.user.edit.restrictions.network, tier 1. Loosening one opens the account to more of the network.

Key In the User Manager On the default user See
ip_restrictions empty VFS Custom
CONNECTIONS_PER_PROTOCOL, kept as allowed_protocols: the protocols allowed, with a limit for each ftp:0,ftps:0,sftp:0,http:0,https:0,webdav:0,
require_encryption Restrictions › Require encryption?: Require encryption false

Limits#

Permission users.user.edit.limits, tier 2.

Key In the User Manager On the default user See
max_login_time 0
max_idle_time 10
speed_limit_upload 0
min_upload_speed
speed_limit_download 0
min_download_speed 0
ratio 0
max_upload_size 0
max_upload_amount 0
max_upload_amount_day 0
max_upload_amount_month 0
clearMaxTransferAmtUpload
max_download_amount 0
max_download_amount_day 0
max_download_amount_month 0
max_upload_count
max_upload_count_day
max_upload_count_month
max_download_count
max_download_count_day
max_download_count_month
partial_download false
dir_calc Settings › Directory Size Calculation: Enable Directory Size Calculation
dir_calc_count Settings › Directory Count Calculation: Enable Directory Count Calculation

VFS#

Permission users.user.edit.vfs, tier by content. Every URL in the storage scope. Tier is that of the widest location mapped.

Key In the User Manager On the default user See
VFS: a user's folders, as a whole VFS Encrypted, VFS
root_dir /

VFS linking#

Permission users.user.edit.vfs.link, tier 1. Linking another user's VFS gives that user's access: checked as a grant.

Key In the User Manager On the default user See
VFS_LINKING, kept as linked_vfs: the folders of another user, linked in

VFS quotas#

Permission users.user.edit.vfs.quota, tier 2. parent_quota_dir is a path.

Key In the User Manager On the default user See
VFS_Quota: the quota of a folder
quota_mb Settings › User level quota: User level quota MB
parent_quota_dir empty

Encryption#

Permission users.user.edit.encryption, tier 1. Key paths are paths: by name where possible.

Key In the User Manager On the default user See
PGP_SETUP: the PGP setup, as a whole
as2EncryptKeystorePath Settings › AS2/3 Decryption Key: Keystore Path empty
as2SignKeystorePath Settings › AS2/3 Signature Verification Key: Keystore Path
as3_allowed false
fileEncryptionKey and the keys that start so Restrictions › PGP Key Setup: Key Location
filePublicEncryptionKey and the keys that start so Restrictions › PGP Key Setup: Public PGP Key
fileDecryptionKey and the keys that start so Restrictions › PGP Key Setup: Private PGP Key
fileDecryptionKeyPass and the keys that start so Restrictions › PGP Key Setup: Private PGP Key Pass
pgp_sign_private_key_path and the keys that start so Restrictions › PGP Key Setup: Private key to use for Signing

Events#

Permission users.user.edit.events, tier by content. An event holds tasks: saved and run as a job. Tier is the highest task tier.

Key In the User Manager On the default user See
events

WebInterface#

Permission users.user.edit.webinterface, tier 2.

Key In the User Manager On the default user See
web_customizations
forms
domain_root_list
alt_http_domains
DisallowListingDirectories false
recaptcha_required_web WebInterface › Set recaptcha for logins: Recaptcha required for WebInterface logins
WebServerMode false
self_activity
folder_history WebInterface › Folder and file history: History: the user sees who uploaded, downloaded, renamed or deleted what in the folders they can list (everyone's activity there, not only their own)

WebInterface buttons#

Permission users.user.edit.webinterface.buttons, tier 1. Buttons carry capabilities today (requiredPriv, for example manageSubscribedEvents). In version 27 they only show or hide; the capability is a self.* permission.

Key In the User Manager On the default user See
web_buttons empty

WebInterface script#

Permission users.user.edit.webinterface.script, tier 1. Runs in the browser of whoever opens the account's pages.

Key In the User Manager On the default user See
javascript WebInterface › Custom Javascript: Enter custom javascript to be appended to the WebInterface empty
css WebInterface › Custom CSS: Enter custom CSS to be appended to the WebInterface empty
WebServerSSI false

Self-service switches#

Permission users.user.edit.self, tier 1. Become self.* permissions.

Key In the User Manager On the default user See
messageForm and the keys that start so WebInterface › Forms: WebInterface Message Form
user_defined_vfs and the keys that start so VFS Custom
share_login and the keys that start so

Tunnels#

Permission users.user.edit.tunnels, tier 1.

Key In the User Manager On the default user See
tunnels empty

Agent mode#

Permission users.user.edit.agent, tier 1. The account may register as a job agent and receive job payloads.

Key In the User Manager On the default user See
agent_mode Settings › CrushClient Agent Mode: Enable CrushClient Agent Mode

Misc#

Permission users.user.edit.misc, tier 2.

Key In the User Manager On the default user See
welcome_message empty
char_encoding UTF-8
posix
timezone_offset 0
temp_upload_ext empty
disable_mdtm_modifications

Misc paths#

Permission users.user.edit.misc.paths, tier 1. A write path.

Key In the User Manager On the default user See
user_log_path

Other keys in a user's file#

These are in the default user's file and in no group above. Most are kept by the server itself.

Key In the User Manager On the default user Is
default_privs_command Misc › POSIX OS X / Linux / Unix: Default file privs empty
as2EncryptKeystoreFormat Settings › AS2/3 Decryption Key: Keystore format JKS
version 1.0 the version of the format of the file
defaultsVersion Version 27.0.0_0 the version of the defaults the user was made with
user_id 6179b0f6b6ea0e8981d7d4cb071dc02f an id the server gives the user
as2EncryptKeystorePassword Settings › AS2/3 Decryption Key: Keystore Password kept encrypted
logins_ip_auto_kick Restrictions › Max Logins Per IP: Auto kick oldest session if exceeded false
default_owner_command Misc › POSIX OS X / Linux / Unix: Default owner empty
account_expire_delete Restrictions › Account Expiration: Auto delete the account also false
default_folder_privs_command Misc › POSIX OS X / Linux / Unix: Default folder privs empty
real_path_to_user ./users/MainUsers/default/ where the user's file lies
as2EncryptKeyAlias Settings › AS2/3 Decryption Key: Key name(alias) empty
expire_password Restrictions › Password Expiration: Expire Password. false
ratio_field_permanent Settings › Download to Upload Ratio: Permanent Ratio false
default_group_command Misc › POSIX OS X / Linux / Unix: Default group empty
account_expire_rolling_days empty
as2EncryptKeyPassword Settings › AS2/3 Decryption Key: Key Password empty
vfs_modified 0 when the user's folders were last changed
site (SITE_PASS)(SITE_DOT)(SITE_EMAILPASSWORD) the older admin switches: see The permission catalog
admin_group_name empty
userVersion 6 counts the saves of the user
username Setup › Account: User name default

Things to know#

  • A key that is not in a user's file is inherited. To set a field on one user, the User Manager ticks the box beside it; in the file that adds the key. Removing the key gives the inherited value back.
  • Secrets are never stored in the clear. Passwords are stored as hashes; the passwords of keystores and keys are stored encrypted.
  • Keys of events, forms, buttons and folders are lists with a form of their own inside the file. They are described with their screens: Events, Forms and share options, Buttons, the user's files.
  • Customizations of the web interface are one field, web_customizations, that holds a list of keys of its own: WebInterface customization keys.
  • Do not edit user.XML while the server has the user open in the User Manager: the next save there overwrites your change.

Where this list comes from#

The groups and their keys are read from the catalog a running test server of version 27 gives to administrators. The places in the User Manager are from the server's own map of its admin pages. The default user's values are those of a new test server. Nothing was tried field by field.