[Frugalware-devel] PAM file problems

bouleetbil (gaetan) bouleetbil at frogdev.info
Sun May 29 22:09:28 CEST 2011


Le Sun, 29 May 2011 22:11:14 +0300,
Marius Cirsta <mforce2 at gmail.com> a écrit :

> Thanks, I've tried what you suggested but unfortunately it didn't work
> for me. I've attached the relevant config files ( if you want to check
> those are OK ) and the log file.
> 
> Other than those 2 attached config files I haven't touched any other
> config file and kde-np should be back to the one present in current.
> 
> On Sun, May 29, 2011 at 8:04 PM, bouleetbil <bouleetbil at frogdev.info> wrote:
> > Le Sun, 29 May 2011 16:16:31 +0300,
> > Marius Cirsta <mforce2 at gmail.com> a écrit :
> >
> >>  I've had a problem with Frugalware current where autologin with KDM would fail.
> >>
> >>  By looking at the /var/log/secure I've found that the problem was
> >> caused by PAM :
> >>
> >> May 29 13:22:38 frugalware kdm: :0[520]: pam_unix(kde-np:auth):
> >> authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
> >> user=marius
> >>
> >> I've then looked at file change history from git and found that
> >> commit:  eaa9c002b47e87585c7c1225cb23b046264f599d   on  Date:   Tue
> >> Mar 22 17:30:48 2011 +0100
> >> actually changed the  kde-np.pamd file.
> >>
> >> I'm sure this was a necessary change as the message is
> >>
> >>     kdebase-workspace-4.6.1-4-x86_64
> >>     *use our pam rules from pam-frugalware
> >>
> >> but the problem is that it broke autologin with kdm. Using the old
> >> kde-np.pamd files the autologin works while using the new one in
> >> current it fails.
> >>
> >> I'm no expert in PAM so I'm not really sure what the fix would be.
> >> _______________________________________________
> >> Frugalware-devel mailing list
> >> Frugalware-devel at frugalware.org
> >> http://frugalware.org/mailman/listinfo/frugalware-devel
> >
> > Hi,
> > can you try to add to /etc/pam.d/login-manager (at the end)
> > auth       required     pam_permit.so
> > account    include      system-auth
> > password   include      system-auth
> > session    include      system-auth
> > session    optional     pam_console.so
> > session    optional     pam_polkit_console.so
> >
> > and use kde-np.pamd from current. If that fix your problem I will fix login-manager from pam-frugalware.
> > _______________________________________________
> > Frugalware-devel mailing list
> > Frugalware-devel at frugalware.org
> > http://frugalware.org/mailman/listinfo/frugalware-devel
> >

Hi 
I will check I've only add the missing rule from old kdm pam rules (btw already broken it use some old deprecated pam module as pam console..)
and please open a bug 


More information about the Frugalware-devel mailing list