diff --git a/reveal/sysadmin.html b/reveal/sysadmin.html index 0751ea9..fe0ea23 100644 --- a/reveal/sysadmin.html +++ b/reveal/sysadmin.html @@ -55,16 +55,16 @@
- # systemctl status cron +# systemctl status cron
- # vim /etc/crontab - # vim /etc/default/cron +# vim /etc/crontab +# vim /etc/default/cron
- # vim /etc/cron.d/example
+# vim /etc/cron.d/example
30 05 * * 0 www-data /usr/local/adm/savelog-weekly
@@ -95,13 +95,13 @@ MAILTO=alert@example.com
@@ -114,13 +114,13 @@ MAILTO=alert@example.com- $ man 5 crontab +$ man 5 crontab
- $ crontab -l +$ crontab -l
- # crontab -u jdoe -l +# crontab -u jdoe -l
@@ -129,16 +129,16 @@ server ntp.evolix.net- $ date +$ date
- # apt install ntp +# apt install ntp
- Fichier /etc/ntp.conf : +# cat /etc/ntp.conf :
server ntp.evolix.net
- # ntpq -p +# ntpq -p
- $ timedatectl +$ timedatectl
- # hwclock --show +# hwclock --show
- # hwclock --systohc +# hwclock --systohc
- # apt install postfix
+# apt install postfix
+# vim main.cf
-smtpd_banner = $myhostname ESMTP mail server biff = no append_dot_mydomain = no @@ -236,7 +235,7 @@ recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 disable_vrfy_command = yes -