0

I want to add user to specific UNIX group only for 6 months. Then I want automatically kick him out of this group and I don't want to expire his username. Which command should I use?

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255

1 Answers1

1

One thing that comes to mind is that you could schedule a cron job an at job to run the command that removes the user from the group.

Edit: Based on telcoM 's comment

Kusalananda
  • 333,661
gomfy
  • 111