Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 21:36:27 +0200
From:      "Hartmann, O." <ohartman@mail.zedat.fu-berlin.de>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: HELP: cups - can not login on localhost to cups server
Message-ID:  <4C040FBB.9000302@mail.zedat.fu-berlin.de>
In-Reply-To: <4C03E5D3.4@infracaninophile.co.uk>
References:  <4C03FF3F.8080604@mail.zedat.fu-berlin.de> <4C03E5D3.4@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C040FBB.9000302>