From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:36:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9862A1065679 for ; Mon, 31 May 2010 17:36:31 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 21A788FC1D for ; Mon, 31 May 2010 17:36:30 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1OJ8uc-0000nw-0I>; Mon, 31 May 2010 19:36:30 +0200 Received: from munin.geoinf.fu-berlin.de ([130.133.86.110]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1OJ8ub-0006xJ-Uh>; Mon, 31 May 2010 19:36:29 +0200 Message-ID: <4C040FBB.9000302@mail.zedat.fu-berlin.de> Date: Mon, 31 May 2010 21:36:27 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100528 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matthew Seaman References: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> <4C03E5D3.4@infracaninophile.co.uk> In-Reply-To: <4C03E5D3.4@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.110 Cc: freebsd-questions@freebsd.org Subject: Re: HELP: cups - can not login on localhost to cups server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:36:31 -0000 On 05/31/10 18:37, Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31/05/2010 19:26:07, Hartmann, O. wrote: > >> Hello, >> my problem sounds trivial, but isn't. I can not login to my cups server >> on localhost via http://localhost:631, which worked for me several >> months ago. Well I installed a new host using FreeBSD 9.0-CUR and need >> to add printers. Regarding to this problem I found a lot of stuff in the >> net and mailing lists, but none of the hints and tipps worked for me. >> First I will describe what I've already did. >> >> 1) ensured local BSD lpd is not running >> 2) on a prior installed system where cups is up and running printing is >> possible but no administration (see subject), so the problem seems to >> be common. >> 3) followed some hints adding a user "root" with proper password via >> "lppasswd" >> 4) deleted password.md5 and performed step 3) again >> 5) deleted all ports cups-* and /usr/local/cups folder and reinstalled >> cups, ensured having nothing left in /usr/local/etc >> >> The problem occured out of the blue to me, I possibly missed some >> changes within the last row of updates. >> >> Can anyone help? >> >> Please eMail me since I'm not subscriber of the "question" list. >> >> Thanks in advance, >> > Check /usr/local/etc/pam.d/cups -- change it to use pam_unix rather than > pam_unknown. (pam_unknown is, errr..., unknown on FreeBSD...) > Like this: > > auth required pam_unix.so nodelay > account required pam_unix.so > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkwD5dMACgkQ8Mjk52CukIzPyQCfdwKzF9B1uCq5sa7nzV94Trsa > oIIAnA25MsdSzF9MbumJ1so01bo/C5Ar > =ATMA > -----END PGP SIGNATURE----- > I did - and it works! Thanks a lot. Oliver