Skip to main content
  1. Posts/

How to Disable User Crontab in Linux

·1 min·
linux linux

Berikut meruapakan panduan singkat cara menonaktifkan crontab pada user tertentu di Linux.

Akses SSH ke server sebagai user root.

sudo -s

Selanjutnya edit atau buat file baru /etc/cron.deny.

nano /etc/cron.deny

Tambahkan user yang akan dinonaktifkan crontabnya.

web1

Setelah itu login sebagai user web1.

su - web1

Kemudian jalankan perintah crontab.

$ crontab  -l
You (web1) are not allowed to use this program (crontab)
See crontab(1) for more information

Related

Cara Mengaktifkan Jumbo Frame
·2 mins
linux linux ubuntu windows
Using Tuned in Linux
·2 mins
linux linux
Using Google Dork Tool on Linux
·2 mins
linux linux
Membuat RAID Array dengan mdadm
·6 mins
linux linux ubuntu
Automatically Restart Linux Services with Systemd
·2 mins
linux linux
How to Block IP Targeting Specific Domains
·2 mins
linux linux