From 056363a35d049771f3a1aa3e979345abbade5bbb Mon Sep 17 00:00:00 2001 From: mango Date: Mon, 2 Feb 2026 10:02:20 +0800 Subject: [PATCH] =?UTF-8?q?v2.7:=20=E6=8E=92=E9=99=A4/etc/pam.d=E9=81=BF?= =?UTF-8?q?=E5=85=8DSSH=E8=AE=A4=E8=AF=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vps-snapshot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vps-snapshot.sh b/vps-snapshot.sh index 3c572a1..2fc8ff4 100755 --- a/vps-snapshot.sh +++ b/vps-snapshot.sh @@ -258,6 +258,7 @@ create_snapshot() { excludes+=" --exclude=/etc/ssh --exclude=/root/.ssh" excludes+=" --exclude=/etc/shadow --exclude=/etc/passwd" excludes+=" --exclude=/etc/hostname --exclude=/etc/hosts" + excludes+=" --exclude=/etc/pam.d" if [ "$BACKUP_DIRS" = "/" ]; then tar $excludes -czf "$snapshot_path" / 2>/dev/null || true