Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2008 13:51:13 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Ashish Shukla =?UTF-8?Q?=E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7_?= =?UTF-8?Q?=E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2?= <wahjava@gmail.com>
Cc:        gnome@freebsd.org, FreeBSD Ports Mailing List <ports@freebsd.org>, Ashish Shukla =?UTF-8?Q?=E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7_?= =?UTF-8?Q?=E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2?= <wahjava.ml@gmail.com>
Subject:   Re: x11/gnome-screensaver-2.22.1 is not unlocking screen on entry of correct password.
Message-ID:  <1207504273.22879.4.camel@shumai.marcuscom.com>
In-Reply-To: <87y77qg9zd.fsf@chateau.d.lf>
References:  <87d4p3xome.fsf@chateau.d.lf> <1207495285.21780.1.camel@shumai.marcuscom.com> <87y77qg9zd.fsf@chateau.d.lf>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-o79VxHylblF7ygp2UsD4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 2008-04-06 at 23:07 +0530, Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=
=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2 wrote:
> >>>>> Joe Marcus Clarke writes:
>     Joe> On Sun, 2008-04-06 at 15:59 +0530, Ashish Shukla =E0=A4=86=E0=A4=
=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2 wrote:
>     >> Hi,
>     >>=20
>     >> Whenever I try to unlock my screen, locked using gnome-screensaver=
, it
>     >> doesn't accept my password, rejects with "Incorrect password". I'm
>     >> running x11/gnome-screensaver-2.22.1 . Any ideas what is causing t=
his ?
>     >> And BtW, I've compiled gnome-screensaver-2.22.1 with PAM support.
>     >>=20
>     >> During password verification, there is some non-uniform delay
>     >> (sometime more, sometimes less) .
>     >>=20
>     >> Is there anyone else experiencing this issue, hmm...?
>=20
>     Joe> This is typically the case when one builds gnome-screensaver wit=
h PAM
>     Joe> support, but they are currently using a PAM module which require=
s the
>     Joe> executable be setuid root (e.g. pam_unix).  The only workaround =
is to
>     Joe> rebuild gnome-screensaver without PAM support, or use a differen=
t PAM
>     Joe> module which does not require root privileges.
>=20
> I've tried copying /etc/pam.d/gdm to /etc/pam.d/gnome-screensaver, but
> also thats of no use. Any ideas, why is that not working inspite of
> /usr/local/libexec/gnome-screensaver-dialog being setuid, hmm...?

PAM and gnome-screensaver do not work together if you are using
pam_unix.  Rebuild gnome-screensaver without PAM support, and it will
instead read /etc/master.passwd directly to authenticate the user.  That
will work.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-o79VxHylblF7ygp2UsD4
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkf5DY0ACgkQb2iPiv4Uz4dGEgCePhylwTgBT1YeqAp2D3eWv6AV
Zo0An2gw5RL66vBt3yf4IO8GklY3z6ZQ
=IGkC
-----END PGP SIGNATURE-----

--=-o79VxHylblF7ygp2UsD4--




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