Commit Graph
2 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 95034598b0 set_suexec_users_nologin.sh: backup /etc/passwd only before the first real change.
A run without changes no longer creates (and removes) a backup file, and
a second run within the same minute can no longer overwrite the backup of
the previous run. Backup timestamp now includes seconds; an existing backup
file is never overwritten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 13:40:02 +01:00
chrisandClaude Opus 5.5 5da75e1fc0 Add script 'set_suexec_users_nologin.sh'.
Sets the login shell of all suexec users (SuexecUserGroup in active vhost
configurations) from '/bin/bash' to '/usr/sbin/nologin'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 13:31:38 +01:00