Mass runas definition
Marek Svent via sudo-users <[email protected]> Thu, 5 Jan 2023 17:36:24 +0200
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <CADQ6ZCd2yEZ8Mc+jH_PEyqps9unXDrDDoTUFwtV_++2MtkXAxw@mail.gmail.com> |
Hi, I have a need to give to some administrators an access to run sudo into users' accounts. But without giving them access to run commands as system users. There are hundreds of systems accounts and thousands of users' accounts and both change as well, so using runas lists is awkward at best. Is there a better way than just list every single account in sudoers file? Theoretically it would be ideal if there would be support for uid ranges. Something like: %semigods ALL=(#5000-#65000) INTERCEPT:NOPASSWD: ALL Regards, -- Marek ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users