I have been volunteered by my boss to be the sysadmin for our production redhat server.
He asked me to tighten the security to avoid mishaps like
rm -f * that occured not long ago.
Right now, we have 53 users sudo-ing into the machine and it is an audit nightmare. I am wondering if it possible to allow user access only on specific days of the week.
For example, can I have user 'Joe' allowed to login on Tuesdays and Thursdays ONLY and 'Jane' only on Sundays? Can
etc/sudoers be customized to allow this?
Is there a better way instead of using sudoers?