-
スーパーユーザーになります。
-
エディタを使用して /etc/cron.d/cron.deny ファイルを編集し、crontab コマンドを使用させないユーザー名を次のように 1 行に 1 つずつ追加します。
daemon
bin
smtp
nuucp
listen
nobody
noaccess
username1
username2
username3
.
.
.
-
/etc/cron.d/cron.deny ファイルをクローズして、変更結果を保存します。
-
/etc/cron.d/cron.deny ファイルを確認します。
# cat /etc/cron.d/cron.deny