99 days ago · 24 min read4700 words · Tech · hide · Fediverse post

This post documents my attempt to reproduce the problem outlined in FreeBSD – /etc/pam.d/sshd was updated/overwritten – no merge attempt I have a working test jail: testingmerge Snapshot of 15.0 [12:11 r730-03 dvl /usr/local/share] % zfs list | grep testingmerge data01/jails/testingmerge 374M 7.62T 374M /jails/testingmerge [12:16 r730-03 dvl /usr/local/share] % sudo zfs snapshot data01/jails/testingmerge@clean-15.0 [12:16 r730-03 dvl /usr/local/share] % The jail configuration is simple: testingmerge { host.hostname = "testingmerge"; ip4.addr = 10.55.0.90; persist; } Not shown Get the jail started. I also did, but not critical to reproducing the problem Enable and start ssh. Add a user for ssh testing Alter /etc/pam.d/sshd Add the following to the end of /etc/pam.d/sshd – for testing I think any line will do, even a comment. session optional pam_exec.so /usr/local/sbin/hare 10.55.0.10 Even if you don’t install that binary, an ssh login will generate this message: dvl@testingmerge:~ $…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town