Hi, 23.01.2026 03:07:45 qugalet via 9fans <[email protected]>: > By the way, how to load credentials from secstore to factotum? > factotum(4) says it will prompt secstore password when started, but I > only get it while connecting via drawterm. Sorry that it's not related > to the issue, but since it resolved for some reason, then I wanted to > ask it here.
Drawterm and factotum is a bit confusing, because drawterm asks you for your secstored password, but it has no factotum! If you look at your $home/lib/profile, you can see what it's doing: Drawterm asks for your password and contacts secstore. It then fetches the keys and stores them in /dev/secstore (/mnt/term/dev/secstore). Then, in profile, if that file exists and factotum is running, it loads those keys into it. If it's not running, it's started with the -n flag (do not connect to secstore), then the keys are loaded into it. After that, the /dev/secstore file is cleared. Note I'm not a fan of this. To load keys into factotum, you can just write them into /mnt/factotum/ctl in the proper format (see factotum(4)). Note you can only write one key per write, so I'm a case like the one described above with multiple keys, you need to use read -m to read line by line (cat secrets | read -m > /mnt/factotum/ctl). I hope that clarifies things a little. sirjofri ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T879324534a1bf0a2-Mff0b8a06fae661f8ee46e9ff Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
