I would like modify an existing user via a script. Ie . add a user to a group and remove a user from a group.
I believe the proper way would be signal-event user-modify ‘username’ …. but I am not sure the proper syntax and could not find an example of such.
I would run this in a cron job.
Any help would be greatly appreciated