The /etc/crontab
file has the permissions:
-rw-r--r--
I understand that this file is for system cron
jobs and other users should not have permission to modify it. The current permissions allows all users read access to the file, enabling them to view the contents.
Is it necessary for all users to be able read /etc/crontab
? I believe that all users should not know some administrative commands, so wouldn't it be better to change the permissions to -rw-r-----
?
I used the permission string from CentOS and have not tested it on other distros.