From 26b7eb10fee2dd702082e470782c99be438f9a9e Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 14 Jan 2025 13:24:08 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 3 +++ gitconfig | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.etckeeper b/.etckeeper index a11d1e7..fd72a77 100755 --- a/.etckeeper +++ b/.etckeeper @@ -46,6 +46,7 @@ mkdir -p './salt/pki/master/minions_rejected' mkdir -p './salt/proxy.d' mkdir -p './security/limits.d' mkdir -p './security/namespace.d' +mkdir -p './skel/.ssh/known_hosts.d' mkdir -p './skel/bin' mkdir -p './ssh/ssh_config.d' mkdir -p './ssh/sshd_config.d' @@ -1953,6 +1954,8 @@ maybe chmod 0755 'skel' maybe chmod 0644 'skel/.bash_logout' maybe chmod 0644 'skel/.bashrc' maybe chmod 0644 'skel/.profile' +maybe chmod 0700 'skel/.ssh' +maybe chmod 0755 'skel/.ssh/known_hosts.d' maybe chmod 0755 'skel/bin' maybe chmod 0755 'ssh' maybe chmod 0644 'ssh/moduli' diff --git a/gitconfig b/gitconfig index 116cef7..598ca0f 100644 --- a/gitconfig +++ b/gitconfig @@ -9,3 +9,5 @@ ui = true [pager] branch = false +[core] + pager = less -RF -- 2.39.5