From owner-freebsd-questions@FreeBSD.ORG Mon May 31 16:37:44 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 BB5F91065687 for ; Mon, 31 May 2010 16:37:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 24F928FC15 for ; Mon, 31 May 2010 16:37:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4VGbdSA004125 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 31 May 2010 17:37:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C03E5D3.4@infracaninophile.co.uk> Date: Mon, 31 May 2010 17:37:39 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Hartmann, O." References: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> In-Reply-To: <4C03FF3F.8080604@mail.zedat.fu-berlin.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk 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 16:37:44 -0000 -----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-----