[slurm-users] Rename account or move user from one account to another

Sam Gallop (NBI) sam.gallop at nbi.ac.uk
Fri Jun 14 14:08:46 UTC 2019

Hi Christoph,

I suspect that the answer to both of these is no. When I tried to modify an account I got ...

$ sudo sacctmgr modify account where name=user1 set account=newaccount1
 Can't modify the name of an account

Also, the sacctmgr can only reset a user's rawusage, as it only supports a value of 0.

While not exactly what you want you could add the user to the new account, change the defaultaccount and then remove the user from the old account. However it doesn't retain the user's historical usage which I guess is ultimately what you want.

Sam Gallop

-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Christoph Brüning
Sent: 12 June 2019 10:58
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] Rename account or move user from one account to another

Hi everyone,

is it somehow possible to move a user between accounts together with his/her usage? I.e. transfer the historical resource consumption from one association to another?

In a related question: is it possible to rename an account?

While I could, of course, tamper with the underlying MariaDB, it does not exactly appear to be a convenient or elegant solution...


Dr. Christoph Brüning
Universität Würzburg
Am Hubland
D-97074 Würzburg
Tel.: +49 931 31-80499

More information about the slurm-users mailing list