In alignment with security compliance standards, the Nautilus project team has opted to impose restrictions on crontab access. Specifically, only designated users will be permitted to create or update cron jobs.
Configure crontab access onApp Server 1 as follows: Allow crontab access to mariyam user while denying access to the eric user.
Here's a detailed step-by-step solution to configure crontab access on App Server 1 to allow the mariyam
user while denying access to the eric
user.
-
Log in to App Server 1:
ssh tony@stapp01
-
Switch to the root user:
sudo su
-
Allow crontab access for
mariyam
:echo "mariyam" >> /etc/cron.allow
-
Deny crontab access for
eric
:echo "eric" >> /etc/cron.deny
-
Verify the configuration:
cat /etc/cron.allow cat /etc/cron.deny