try with this sacctmgr add user test account=staff sacctmgr modify user where user=test set defaultaccount=staff
2011/11/4 Loris Bennett <[email protected]> > Hi, > > I am struggling to understand how sacctmrg works with regard to changing > the account / default account of a user. > > I have: > > [root ~]# sacctmgr list user where user=test > User Def Acct Admin > ---------- ---------- --------- > test dept1 None > > and want to change the account / default account to 'staff'. > > Trying to change the account gives me: > > [root]# sacctmgr modify user where user=test set account=staff > Unknown option: account=staff > Use keyword 'where' to modify condition > > which implies that 'account=staff' is not a valid specification. Why is > it not? > > Trying to change the default account gives me: > > [root]# sacctmgr modify user where user=test set defaultaccount=staff > Can't modify because these users aren't associated with new default > account 'staff'... > U = test C = slurm_cluster > > but I don't understand the error message, because associating 'test' > with 'staff' is exactly what I am trying to do. > > What am I doing wrong? > > Cheers > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] > > > -- -- Carles Fenoy
