Skip to content

User Management

Manage local Unix users and groups for file share access. For domain-based authentication, see Active Directory & Kerberos.

Navigate to User Management in the Web UI sidebar.

  1. Click Add User
  2. Fill in:
FieldDescriptionDefault
UsernameLogin name
Full NameDisplay name (gecos)
UIDUser IDAuto-assigned
GIDPrimary group IDAuto-assigned
Home DirectoryHome directory path/home/<username>
ShellLogin shell: bash, sh, zsh, or false (no login)/bin/bash
PasswordUser password
Samba AuthenticationEnable SMB access for this userOff
  1. Click Create

Click on a user card to edit inline:

  • Full Name
  • Shell (dropdown)
  • Samba toggle

Select a user and click Set Password to change their password.

Select a user and click Delete.

  1. Switch to the Groups tab
  2. Click Add Group
  3. Fill in:
FieldDescription
Group NameGroup name
GIDGroup ID
MembersSelect initial members from user list
  1. Click Create
  1. Select a group
  2. Click Edit
  3. Add or remove members using the user selection interface
  4. Click Save

Select a group and click Delete.

To create users that can authenticate to SMB shares without Active Directory:

  1. Create a user with Samba Authentication enabled
  2. Set a password

The Samba badge appears on the user card indicating SMB access is enabled.

To enable Samba for an existing user, click the user card and toggle the Samba option, then set a password.

Terminal window
# Create a Unix user
mayacli create creds jdoe type=user uid=1001 gid=1001 \
home=/home/jdoe shell=/bin/bash gecos="John Doe"
# Create an SMB-enabled user
mayacli create creds smbuser type=user samba=yes password=secret123
# Create an SMB user (prompt for password)
mayacli create creds smbuser type=user samba=yes password
# Create a group
mayacli create creds developers type=group gid=2001
# Add user to group
mayacli bind creds jdoe group=developers
# Remove user from group
mayacli unbind creds jdoe group=developers
# Change user shell
mayacli set creds jdoe shell=/bin/zsh
# Change password
mayacli set creds smbuser password=newsecret samba=yes
# Show all users
mayacli show creds type=user
# Show all groups
mayacli show creds type=group
# Delete a user
mayacli delete creds jdoe
# Delete a group
mayacli delete creds developers

See CLI Guide for the full command reference.