t wxyz
# nano /etc/ssh/sshd_config
#PermitRootLogin yes
PermitRootLogin no
#PasswordAuthentication yes
PasswordAuthentication no
#X11Forwarding yes
X11... ès root ssh).
<code bash>
# useradd [options] LOGIN
# -m, --create-home create the user's home direct... with the same name as the user
useradd -m -U -s /bin/bash tintin
# adduser USER GROUP
# Add an exis
tool - ntop is the best tool to see network usage in a way similar to what top command does for proces... functionality of the traceroute and ping programs in a single network diagnostic tool. [[http://www.c... of various Linux subsystems (CPU, Memory, I/O..) in real time. You can also collect all performance d... es. It can send alert when things go wrong and again when they get better.
[[http://fannagioscd.sourc
www.baeldung.com/linux/use-command-line-arguments-in-bash-script|How to Use Command Line Arguments in a Bash Script]]
* [[https://linuxhandbook.com/if-e... == sed ====
* [[https://www.cs.hmc.edu/twiki/bin/view/QREF/Sed|An introduction to sed]]
> [[http:... w.com/questions/91110/how-to-match-a-single-quote-in-sed|How to match a single quote in sed if the exp
r.yp.to/djbdns/separation.html
Sur l'wiki Sos-Admin :
* http://wiki.sos-admin.com/wiki/Cat%C3%A9gorie:DNS
* http://wiki.sos-admin.com/wiki/Cat%C3%A9gorie:S%C3%A9curiser_DNS_bind
... eallow; };
};
J'ai regardé un petit peu plus loin le problème, utiliser allow-recursion pour limite
===== Softs =====
* [[/informatique/system_admin/restic]]
* [[/informatique/system_admin/rclone]]
* [[informatique:system_admin:rsync]]
https://rdiff-backup.net/
https://www.borgbackup.o... n
http://www.laboratoire-microsoft.org/articles/win/synctoy
==== Time Machine ====
Time Machine est
noter la présence ou l'absence du slash '/' à la fin du répertoire source qui détermine si c'est le ré... t sont échappées les guillemets.
<code bash>
#!/bin/bash
#
# for debug:
#set -x
RMT="ssh -p 6666 -i... TE
LOG_FILE=$DST_PATH/$DST_BACKUP_PATH.log
RSYNC_BIN=/usr/bin/rsync
$RSYNC_BIN \
-e "$RMT" \
--quiet \
--archive \
--dele
réseau est rapide, et pourtant à partir d'un certain nombre de connexions TCP des erreurs apparaissent... er.it/linux/sysctl.conf
* https://www.slashroot.in/linux-kernel-rpfilter-settings-reverse-path-filte... 4096
# Decrease the time default value for tcp_fin_timeout connection
# debian 10.4 = 60
net.ipv4.tcp_fin_timeout = 15
# Decrease the time default value fo
====
==== Mount ====
{{ :informatique:system_admin:restic-mount.png?nolink&200|Restic mount view}}
... using `sudo restic self-update`
Package: restic
Pin: release a=*
Pin-Priority: -10
</code>
==== Lock ====
🚨 Un accès à un repository pose un verrou (lo
lctl ======
Voir aussi [[/informatique/system_admin/systemd|systemd]].
* https://guillaume.fenolla... age
Archived and active journals take up 3.7G in the file system.
Et fait le ménage
journalctl -