Hi, I attached a slurm-group-sync script to this mail a few weeks ago: http://lists.schedmd.com/cgi-bin/dada/mail.cgi/r/slurmdev/856942114016/
It will not remove accounts if the unix group is removed, but it will sync account membership to the group. Andy On Tue, Mar 12, 2013 at 04:12:04AM -0600, Marco Passerini wrote: > > Hi, > > I found this old post about mapping GIDs to accounts in the slurm > accounting. > > http://lists.schedmd.com/cgi-bin/dada/mail.cgi/r/slurmdev/366120635693/ > > I would need to do the same mapping on my systems, has there been a > follow up on this topic? Does anybody have a ready-made script to map > the group/passwd file to the Slurm accounting DB and keep them in sync? > > I would guess that doing the first dump of all the user identities to > the accounting DB should be quite straight forward, but keeping it in > sync whenever a user/group is added removed, or whenever a user-group > membership is changed might make the script logic much more complex! > > Marco. -- andy wettstein hpc system administrator research computing center university of chicago 773.702.1104
