请帮我找出如何限制程序并发执行的数量。我的意思是,特定程序只能运行,例如一次运行 5 次。我知道如何限制用户的进程数,但如何使用 PAM 为程序做到这一点?
executable limit
executable ×1
limit ×1