![](https://seccdn.libravatar.org/avatar/d83ba9917b5c73d8ea6dc40e13828a2a.jpg?s=120&d=mm&r=g)
Hi, I'm trying to integrate MATE with openSUSE, and I believe most of the stuff is actually done; I'm just struggling with mate-screensaver (keyring and PAM ?) which fails big time... I've taken a look at the GNOME 2 packages and made actually some advancemente, but I'm still getting no results... /var/log/messages spits out the following : Sep 18 19:55:37 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:37 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed Sep 18 19:55:39 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:39 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed The packages are on X11:MATE. by any means, can someone help me? I don't really understand much of PAM and there's something here I can't beat all by myself :/ NM -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/d83ba9917b5c73d8ea6dc40e13828a2a.jpg?s=120&d=mm&r=g)
I've decided to enable the debug and I get a bit more of output: Sep 18 23:00:32 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): pam_sm_authenticate() called Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): username=[nmarques] Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): wrong password, return PAM_AUTH_ERR Now... I've found that my user can't read /etc/shadow, which is cool... For some testing I've dropped it from 0700 to 0644 and it magically started working; which is nice...mate-screensaver isn't built with setuid bit, so I assume that stuff being enabled and /etc/shadow being 0700 should fix it... Is it ok to enable setuid bit ? NM 2012/9/18 Nelson Marques <nmo.marques@gmail.com>:
Hi,
I'm trying to integrate MATE with openSUSE, and I believe most of the stuff is actually done; I'm just struggling with mate-screensaver (keyring and PAM ?) which fails big time... I've taken a look at the GNOME 2 packages and made actually some advancemente, but I'm still getting no results... /var/log/messages spits out the following :
Sep 18 19:55:37 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:37 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed Sep 18 19:55:39 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:39 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed
The packages are on X11:MATE.
by any means, can someone help me? I don't really understand much of PAM and there's something here I can't beat all by myself :/
NM -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- --- Artigo 21 - Direito à Resistência Todos têm o direito de resistir a qualquer ordem que ofensa os seus direitos, liberdades e garantias e de repelir pela força qualquer agressão, quando não seja possível recorrer à autoridade pública. Constituição da Républica Portuguesa -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/d83ba9917b5c73d8ea6dc40e13828a2a.jpg?s=120&d=mm&r=g)
Nevermind, I've cracked it... I had the '--enable-authentication-scheme=helper' with a typo, that's why it wasn't working :/ All fine now. 2012/9/18 Nelson Marques <nmo.marques@gmail.com>:
I've decided to enable the debug and I get a bit more of output:
Sep 18 23:00:32 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): pam_sm_authenticate() called Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): username=[nmarques] Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed Sep 18 23:00:32 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): wrong password, return PAM_AUTH_ERR
Now... I've found that my user can't read /etc/shadow, which is cool... For some testing I've dropped it from 0700 to 0644 and it magically started working; which is nice...mate-screensaver isn't built with setuid bit, so I assume that stuff being enabled and /etc/shadow being 0700 should fix it...
Is it ok to enable setuid bit ?
NM
2012/9/18 Nelson Marques <nmo.marques@gmail.com>:
Hi,
I'm trying to integrate MATE with openSUSE, and I believe most of the stuff is actually done; I'm just struggling with mate-screensaver (keyring and PAM ?) which fails big time... I've taken a look at the GNOME 2 packages and made actually some advancemente, but I'm still getting no results... /var/log/messages spits out the following :
Sep 18 19:55:37 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:37 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed Sep 18 19:55:39 mantis mate-screensaver-dialog: gkr-pam: unlocked login keyring Sep 18 19:55:39 mantis mate-screensaver-dialog: pam_unix2(mate-screensaver:auth): conversation failed
The packages are on X11:MATE.
by any means, can someone help me? I don't really understand much of PAM and there's something here I can't beat all by myself :/
NM -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- --- Artigo 21 - Direito à Resistência
Todos têm o direito de resistir a qualquer ordem que ofensa os seus direitos, liberdades e garantias e de repelir pela força qualquer agressão, quando não seja possível recorrer à autoridade pública.
Constituição da Républica Portuguesa
-- --- Artigo 21 - Direito à Resistência Todos têm o direito de resistir a qualquer ordem que ofensa os seus direitos, liberdades e garantias e de repelir pela força qualquer agressão, quando não seja possível recorrer à autoridade pública. Constituição da Républica Portuguesa -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Nelson Marques