Commit Graph
4 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 67c1086e2c Role common: add task sftpd.yml for chrooted SFTP access.
- group 'sftpusers' (GID 200 or next free), sshd drop-in
  /etc/ssh/sshd_config.d/90-sshd-SFTP.conf (Match Group, ChrootDirectory %h,
  ForceCommand internal-sftp), PasswordAuthentication via
  'sftp_password_authentication'
- new sftp users (UID 201 or next free) with root owned chroot home,
  upload dir and root owned authorized_keys (always created)
- existing users (e.g. www-data, suexec users) can be added to the group;
  chroot requirements of their home are checked, not changed
- passwords: update_password defaults to 'always', password of users with
  shell access is never changed
- controlled by 'chrooted_sftpd_present' (default: false), tag 'sftpd'
- add empty sftpd section to all host_vars *-common.yml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:42:42 +01:00
chrisandClaude Opus 5.5 97bf3d65f3 Role ipt-server: migrate o13-git, first install on h.mx, remove obsolete host_vars of oolm-db.
o13-git was removed from no_ipt_firewall (hosts, already in 57970a6).
h.mx gets the same dovecot auth networks as a.mx.
oolm-db.oopen.de is identical to o21.oopen.de.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:17:39 +01:00
chris 29f6dc7e32 Disable systemd-resolved for multiple host. 2026-10-31 09:47:46 +01:00
chris 056038c780 update.. 2026-10-12 18:51:07 +02:00