ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] CUPS: http://localhost:631/admin
@ 2004-01-16  7:06 Renat Sabitov
  2004-01-16  8:12 ` Aleksey Avdeev
  2004-01-16  8:22 ` Nick N. Vinogradov
  0 siblings, 2 replies; 7+ messages in thread
From: Renat Sabitov @ 2004-01-16  7:06 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)

Ситуация /etc/cups/cupsd.conf: 

<Location /admin>
AuthType Digest

# на самом деле не важно Group или User
AuthClass Group
AuthGroupName sys

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>


# cat passwd.md5
srr:sys:e96a1488e80deec600fe22d4d3e8c324

Пароль 123qwe

#tail -n1 /var/log/cups/error_log
E [16/Jan/2004:09:50:34 +0300] IsAuthorized: No matching user:group for
"srr" in passwd.md5!

Ситуация /etc/cups/cupsd.conf: 

<Location /admin>
AuthType Basic 
AuthClass Group
AuthGroupName srr
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

#tail -n1 /var/log/cups/error_log

E [16/Jan/2004:09:55:24 +0300] IsAuthorized: pam_authenticate() returned
9 (Authentication service cannot retrieve authentication info.)!

#tail -n2 /var/log/messages
Jan 16 09:55:22 sabitov pam_tcb[27077]: Credentials for user srr unknown
Jan 16 09:55:22 sabitov pam_tcb[27049]: cups: Authentication failed for
UNKNOWN USER from (uid=4)

Ситуация /etc/cups/cupsd.conf: 

<Location /admin>
AuthType None 
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

Доступ есть, естественно без пароля. 

Как получить работающий доступ с паролем?

-- 
Renat Sabitov 
gpg fp=AADD CE02 9E22 1B3E BB52  3A4F 24DE 39DC AEFD C115

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  7:06 [sisyphus] CUPS: http://localhost:631/admin Renat Sabitov
@ 2004-01-16  8:12 ` Aleksey Avdeev
  2004-01-16  8:21   ` Renat Sabitov
  2004-01-16  8:22 ` Nick N. Vinogradov
  1 sibling, 1 reply; 7+ messages in thread
From: Aleksey Avdeev @ 2004-01-16  8:12 UTC (permalink / raw)
  To: sisyphus

Renat Sabitov пишет:
> Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)
> 
> Ситуация /etc/cups/cupsd.conf: 
> 
> <Location /admin>
> AuthType Digest
> 
> # на самом деле не важно Group или User
> AuthClass Group
> AuthGroupName sys
> 
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> </Location>
> 
> 
> # cat passwd.md5
> srr:sys:e96a1488e80deec600fe22d4d3e8c324
> 
> Пароль 123qwe
> 
> #tail -n1 /var/log/cups/error_log
> E [16/Jan/2004:09:50:34 +0300] IsAuthorized: No matching user:group for
> "srr" in passwd.md5!
> 
> Ситуация /etc/cups/cupsd.conf: 
> 
> <Location /admin>
> AuthType Basic 
> AuthClass Group
> AuthGroupName srr
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> </Location>
> 
> #tail -n1 /var/log/cups/error_log
> 
> E [16/Jan/2004:09:55:24 +0300] IsAuthorized: pam_authenticate() returned
> 9 (Authentication service cannot retrieve authentication info.)!
> 
> #tail -n2 /var/log/messages
> Jan 16 09:55:22 sabitov pam_tcb[27077]: Credentials for user srr unknown
> Jan 16 09:55:22 sabitov pam_tcb[27049]: cups: Authentication failed for
> UNKNOWN USER from (uid=4)
> 
> Ситуация /etc/cups/cupsd.conf: 
> 
> <Location /admin>
> AuthType None 
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> </Location>
> 
> Доступ есть, естественно без пароля. 
> 
> Как получить работающий доступ с паролем?

   В каком режиме CUPS?

-- 

С уважением. Алексей.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  8:12 ` Aleksey Avdeev
@ 2004-01-16  8:21   ` Renat Sabitov
  2004-01-16  8:37     ` Aleksey Avdeev
  0 siblings, 1 reply; 7+ messages in thread
From: Renat Sabitov @ 2004-01-16  8:21 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

On Птн, 2004-01-16 at 11:12, Aleksey Avdeev wrote:
> Renat Sabitov пишет:
> > Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)

>    В каком режиме CUPS?

Режим по умолчанию:

#
# Izvrat Mode options
# RunAsUser - always run CUPS under yser
# NoIzvrat - turn on classic CUPS mode
#

#RunAsUser no
#NoIzvrat yes
-- 
Renat Sabitov 
gpg fp=AADD CE02 9E22 1B3E BB52  3A4F 24DE 39DC AEFD C115

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  7:06 [sisyphus] CUPS: http://localhost:631/admin Renat Sabitov
  2004-01-16  8:12 ` Aleksey Avdeev
@ 2004-01-16  8:22 ` Nick N. Vinogradov
  2004-01-16  8:35   ` Renat Sabitov
  1 sibling, 1 reply; 7+ messages in thread
From: Nick N. Vinogradov @ 2004-01-16  8:22 UTC (permalink / raw)
  To: Renat Sabitov

RS> Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)
RS> Как получить работающий доступ с паролем?

service cups admrestart - настройка
service cups restart - печать

IMHO, было в ФАКе

WBR, Hash :-)




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  8:22 ` Nick N. Vinogradov
@ 2004-01-16  8:35   ` Renat Sabitov
  2004-01-16  8:39     ` Stanislav Ievlev
  0 siblings, 1 reply; 7+ messages in thread
From: Renat Sabitov @ 2004-01-16  8:35 UTC (permalink / raw)
  To: Nick N. Vinogradov, sisyphus

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

On Птн, 2004-01-16 at 11:22, Nick N. Vinogradov wrote:
> RS> Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)
> RS> Как получить работающий доступ с паролем?
> 
> service cups admrestart - настройка
> service cups restart - печать

Однако... Действительно заработало. Пойду искать ФАК.
-- 
Renat Sabitov 
gpg fp=AADD CE02 9E22 1B3E BB52  3A4F 24DE 39DC AEFD C115

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  8:21   ` Renat Sabitov
@ 2004-01-16  8:37     ` Aleksey Avdeev
  0 siblings, 0 replies; 7+ messages in thread
From: Aleksey Avdeev @ 2004-01-16  8:37 UTC (permalink / raw)
  To: sisyphus

Renat Sabitov пишет:
> On Птн, 2004-01-16 at 11:12, Aleksey Avdeev wrote:
> 
>>Renat Sabitov пишет:
>>
>>>Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)
> 
> 
>>   В каком режиме CUPS?
> 
> 
> Режим по умолчанию:
> 
> #
> # Izvrat Mode options
> # RunAsUser - always run CUPS under yser
> # NoIzvrat - turn on classic CUPS mode
> #
> 
> #RunAsUser no
> #NoIzvrat yes

   "service cups admrestart" выполнялся?

PS: less /usr/share/doc/cups-*/README.ALT

-- 

С уважением. Алексей.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [sisyphus] CUPS: http://localhost:631/admin
  2004-01-16  8:35   ` Renat Sabitov
@ 2004-01-16  8:39     ` Stanislav Ievlev
  0 siblings, 0 replies; 7+ messages in thread
From: Stanislav Ievlev @ 2004-01-16  8:39 UTC (permalink / raw)
  To: sisyphus

On Fri, Jan 16, 2004 at 11:35:25AM +0300, Renat Sabitov wrote:
> On Птн, 2004-01-16 at 11:22, Nick N. Vinogradov wrote:
> > RS> Не могу попасть в конфигуратор CUPS (http://localhost:631/admin)
> > RS> Как получить работающий доступ с паролем?
> > 
> > service cups admrestart - настройка
> > service cups restart - печать
> 
> Однако... Действительно заработало. Пойду искать ФАК.
Достаточно найти README.ALT ;)

Можете отключить этот режим через control.
По умолчанию cups бегает под пользователем и ему не хватает прав для
авторизации пользователя.
> -- 
> Renat Sabitov 
> gpg fp=AADD CE02 9E22 1B3E BB52  3A4F 24DE 39DC AEFD C115



> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-16  8:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-16  7:06 [sisyphus] CUPS: http://localhost:631/admin Renat Sabitov
2004-01-16  8:12 ` Aleksey Avdeev
2004-01-16  8:21   ` Renat Sabitov
2004-01-16  8:37     ` Aleksey Avdeev
2004-01-16  8:22 ` Nick N. Vinogradov
2004-01-16  8:35   ` Renat Sabitov
2004-01-16  8:39     ` Stanislav Ievlev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git