<div dir="ltr">Great, thanks for that.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 8, 2021 at 5:32 PM Brian Andrus <<a href="mailto:toomuchit@gmail.com">toomuchit@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yep. I do it all the time when I forget to add a parent. Also when a <br>
project/account changes who owns it.<br>
<br>
sacctmgr will also tell you what it is going to change and gives you 30 <br>
seconds to say yes, else it doesn't make the change.<br>
<br>
Brian Andrus<br>
<br>
On 9/8/2021 3:41 AM, byron wrote:<br>
> Hi<br>
><br>
> I've added a new account using sbank and have now discovered it should <br>
> have been added with the parent set. We've already accumulated a <br>
> couple of months of user data so I dont just want to delete it and <br>
> recreate it in the correct location.  I've had a read of the sacctmgr <br>
> command and think I may be able to modify the account to set a parent <br>
> but am a little unsure as I haven't seen any example of people doing <br>
> it online<br>
><br>
> Is there any reason why the following wouldn't work?  I'm using <br>
> version 19.05.7 of slurm.<br>
><br>
> sacctmgr modify account blah set parent=blahparent<br>
><br>
> Also would it be ok to make this change while the system is running?<br>
><br>
> Thanks<br>
<br>
</blockquote></div>