[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libskey changes
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Libskey changes
- From: CyberPsychotic <fygrave_(_at_)_tigerteam_(_dot_)_net>
- Date: Sun, 11 Jul 1999 15:12:23 +0400 (MSD)
Hello people,
I've made some changes in libskey source which I feel being quite
reasonable, (basically took some interesting parts from FreeBSD source
three, and made it compiling cleanly on OpenBSD). I am not sure what would
be proper way to submit these changes(this isn't in FAQ, checked ;-)),
anyway, I've placed the tarball of /usr/src/lib/libskey - as it is on my
system, at http://www.unix.kg/~fygrave/libskey.tar .
Basically changes here are following:
I've added Wietse Venema's skeyaccess routine, which implements
/etc/skey.access checking feature (and is used in pam_cleartext_pass_ok pam
module). Also added skey_pass, and skey_routines, basically because I find
them quite convinient (but they aren't used in libpam, nor in libskey source
itself).
While making these changes I added _PATH_SKEYACCESS definition to
/usr/include/paths.h (patch included, and changed file supplied). However
the current skeyaccess.c file uses paths.h which resides in current
directory, I basically did that, so the library would compile even if you
didn't run `make beforeinstall' first. Probably this isn't quite good. :)
I also started moving libpam to my OpenBSD box last night, but seems that
things wouldn't go quite fast (so far I managed to tune basic pam library
and some modules (pam_permit/pam_deny/pam_cleartext_pass_ok), since some
other things, which these modules use, should be ported as well..
Hope, you'll find these changes useful.
Fyodor
PS: sorry if it isn't quite the way to submit such sort of stuff :)
--
fygrave_(_at_)_tigerteam_(_dot_)_net http://www.kalug.lug.net/
Visit your host, monkey.org