In this video, we do a quick little edit to my build of suckless slock, to allow it to support either PAM authentication, or authentication using the shadow file, based on a configuration option. I like to maintain one build of my software, and I need both features on different computers, so we'll need to do a bit of work on our own to integrate the two sets of code together. Nothing too hard though--effectively just adding a few if statements.
The original source code for slock can be found here:
git.suckless.o...
The patch that I am basing these modifications off of is here:
tools.suckless...
And, my own build can be found here:
github.com/dbr...
Негізгі бет Customizing Suckless Software: Creating a PAM Authentication Toggle for slock
Пікірлер: 2