Hi Stefan, thank you, this works as expected. I had some other issues with file permissions, so this could have come to my mind too :/ Maybe this could be added to the docs too.
Greetings, David 2011/1/3 Stefan Scherfke <[email protected]> > Hi David, > > had the same / a similar problem. > > Cherokee needs to be able to read /etc/shadow. > > Try to add www-data to the shadow-group (e.g. ``sudo adduser www-data > shadow``) and restart cherokee. > > Worked for me. :) > > Cheers, > Stefan > > > Am 2010-08-18 um 10:30 schrieb David Zerrenner: > > > Hi, I'm trying to protect a subdirectory of a specific vhost by using pam > auth and https on Ubuntu 10.04 / cherokee 1.0.8. So i created a directory > rule for that directory. I assigned the list & send handler, checked "https > only" on the security tab and activated authentication via pam. No login is > possible then with valid users. > > > > Here're some configuration and log: > > > > /var/log/auth.log: > > > > Aug 18 10:10:15 gonzo unix_chkpwd[6362]: check pass; user unknown > > Aug 18 10:10:15 gonzo unix_chkpwd[6362]: password check failed for user > (xxxx) > > Aug 18 10:10:15 gonzo cherokee-worker: pam_unix(cherokee:auth): > authentication failure; logname= uid=33 euid=33 tty= ruser= rhost= > user=xxxx > > > > cherokee runs as user with uid:gid 33:33 > > > > ------ > > > > /etc/pam.d/cherokee (default from cookbook): > > > > account required pam_unix.so > > auth required pam_unix.so nullok > > auth required pam_env.so > > session required pam_unix.so > > > > > > any help is appreciated :) > > David Zerrenner > > _______________________________________________ > > Cherokee mailing list > > [email protected] > > http://lists.octality.com/listinfo/cherokee > > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > -- mail: [email protected] web: bluenode.de
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
