- 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>
- Added 'file-km-alt.anw-km.netz' to the hosts file in multiple locations.
- Updated Samba configuration to change the maximum file size for virus filtering from 25 MB to 15 MB, with commented-out options for 50 MB and 25 MB.
- Created a new host variable file for 'file-km-alt.anw-km.netz' with detailed network interface and Samba share configurations, including user definitions and permissions.