On Wed, Jul 11, 2018 at 09:21:10AM -0400, Douglas Duckworth wrote: > Hi > We are running GE 6.2u5 and moving to Slurm. Though before we do some > changes need to be made within GE. > For example we have 66 user sets within our share tree. However none of > them were configured as a department. > Using qmon I see an option to make the user set a department. Though > using the GUI does not seem very fun. > > Any way to script this change out using qconf? > Thanks, > Douglas Duckworth, MSc, LFCS > HPC System Administrator > Scientific Computing Unit > Physiology and Biophysics > Weill Cornell Medicine > E: d...@med.cornell.edu > O: 212-746-6305 > F: 212-746-8690
qconf -sul |xargs qconf -mattr userset type ACL,DEPT Assuming you want all your usersets to work as both ACLs and departments otherwise replace qconf -sul with something that lists the sets you want to change and replace ACL,DEPT with just DEPT (or whatever you want). William
signature.asc
Description: PGP signature
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users