Thanks for your answers. Since I'm on gentoo, I recompiled cups to not use PAM. But now, even with lppasswd -a fab, the password I set is not recognised on the cups web server. Is there a.htpasswd file somewhere for it?