Skip to main content

Manage Users

Fluidstack managed Slurm includes user-management features for convenient and secure access to Slurm clusters.

info

Slurm user management is currently a preview feature that is only available in regions that support the slurm:users:* capabilities.

List Users

Use the fluidctl slurm clusters users list command to list all users on a cluster:

fluidctl slurm clusters users list --region <region> --project <project-id> --cluster-id <cluster-id>

Add User

Use the fluidctl slurm clusters users add command to add a user to a cluster:

fluidctl slurm clusters users add \
--region <region> \
--project <project-id> \
--cluster-id <cluster-id> \
--username <username> \
--ssh-keys "<ssh-public-key>" \
--sudo

Options:

  • --username - Username for the new user (required)
  • --ssh-keys - SSH public key(s) for the user (can be specified multiple times)
  • --sudo - Grant sudo access to the user

Get User Details

Use the fluidctl slurm clusters users describe command to get details of a specific user:

fluidctl slurm clusters users describe --region <region> --project <project-id> --cluster-id <cluster-id> --username <username>

Update User

Use the fluidctl slurm clusters users update command to update a user's SSH keys or sudo access:

fluidctl slurm clusters users update \
--region <region> \
--project <project-id> \
--cluster-id <cluster-id> \
--username <username> \
--ssh-keys "<new-ssh-public-key>" \
--sudo=false

Options:

  • --username - Username of the user to update (required)
  • --ssh-keys - New SSH public key(s) for the user (can be specified multiple times)
  • --sudo - Grant or revoke sudo access

Delete User

caution

Deleting a user is irreversible. The user will lose access to the cluster immediately.

Use the fluidctl slurm clusters users delete command to remove a user from a cluster:

fluidctl slurm clusters users delete --region <region> --project <project-id> --cluster-id <cluster-id> --username <username>

LDAP Federation

Fluidstack will configure LDAP federation for Slurm clusters on request. Reach out to Fluidstack support for details.