Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Dec 2007 01:06:13 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        gnome@freebsd.org
Subject:   xscreensaver: 5.04 and PAM
Message-ID:  <475BB005.1010805@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Howdy guys,

Been a while since we communicated about xscreensaver, so I thought
I'd drop you a line. I have a patch at
http://dougbarton.us/Downloads/xs-504-pam-kerberos.diff to update my
version of the port to 5.04. A few things worth noting:

1. There are several new configure options that might be interesting.
2. I'm adding support for PAM, which means that driver/Makefile.in and
driver/passwd-pam.c have to be edited to put the xscreensaver file in
/usr/local/etc/pam.d.
3. I'm pretty sure none of the patches are relevant anymore. I'm using
5.04 for a few days now on -current without patches and it works fine
(that includes testing the hacks that used to need patches to compile).

In regards to the pam.d/xscreensaver file, I decided to create one in
files/ and then cp it to WRKSRC and let the xscreensaver Makefile
install it for me. Also, there are a couple of problems with the
version of the file you suggest in the pkg-message. First, pam_nologin
has no auth component on FreeBSD [78].x. The other is that
try_pass_first is actually spelled try_first_pass. :)

In the end I found it easier to just do
auth            include         system
account         include         system

That works fine, and avoids the issues of having different stuff on
different releases. That will also solve the problem of people doing
more incompatible stuff down the road.


hope this helps,

Doug

- --

    This .signature sanitized for your protection

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (FreeBSD)

iD8DBQFHW7AFyIakK9Wy8PsRAz5uAJ9xeeHixGWKlTZxRLNbu3LdgpJgcwCfeOAv
r00xDbsPN3AURw2pDR6L0gY=
=PY1q
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475BB005.1010805>