You are not logged in.
I've put a pyspwd module in incoming. Here's the package build:
pkgname=pyspwd
pkgver=0.1
pkgrel=1
pkgdesc="Python bindings to the shadow password file"
depends=(python shadow)
makedepends=(gcc)
conflicts=()
replaces=()
backup=()
install=
source=(spwdmodule.c setup.py)
md5sums=('86ddd0e16756ac6a53156fb6aba5311f' 'a9f1027215f45ba626b6992f326488f4')
build() {
cd $startdir/src
python setup.py build
cd $startdir
mkdir -p pkg/usr/lib/python2.3/site-packages
cp src/build/lib.linux-i686-2.3/spwd.so pkg/usr/lib/python2.3/site-packages
}
The source file is not strictly available online (I got it from a mailing list archive). It allows python access to the shadow passwords file in a similar way to the python pwd module. This file *may* be used in a python version of the Arch Display Manager.
This package is probably utterly useless outside the realm of ADM, but I knew not where else to place it.
I have yet to figure out how to check an entered password matching the shadow password. I may have been better off trying to get the PAM module working here, but I did try PyPAM, and it caused an error.
Dusty
Offline