public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Cups web interface, manage functions don't work
@ 2013-07-13 16:21 Алексей Мишустин
  2013-07-13 16:25 ` [gentoo-user] " Алексей Мишустин
  0 siblings, 1 reply; 4+ messages in thread
From: Алексей Мишустин @ 2013-07-13 16:21 UTC (permalink / raw
  To: gentoo-user

Hi,

I have got a problem with cups web interface. It lets me add printers
and classes, but doesn't let neither manage nor delete them. There was
no this problem before, some time ago I deleted printer successfully.
May be it's due to the recent cups update.

My user is listed in lpadmin group.

/usr/sbin/lpadmin permissions are -rwxr-xr-x root root. (is it normal
that group isn't lpadmin?)

Cupsd.conf and cups-files.conf included.

Thanks for your hints.

-- 
Regards,
Alex


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

* [gentoo-user] Re: Cups web interface, manage functions don't work
  2013-07-13 16:21 [gentoo-user] Cups web interface, manage functions don't work Алексей Мишустин
@ 2013-07-13 16:25 ` Алексей Мишустин
  2013-07-13 16:48   ` Алексей Мишустин
  0 siblings, 1 reply; 4+ messages in thread
From: Алексей Мишустин @ 2013-07-13 16:25 UTC (permalink / raw
  To: gentoo-user

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

Sorry, the files were missing.

--
Regards,
Alex

[-- Attachment #2: cupsd.conf --]
[-- Type: application/octet-stream, Size: 1845 bytes --]

# Show troubleshooting information in error_log.
LogLevel debug
Listen localhost:631
Listen /run/cups/cups.sock
Browsing Off
DefaultAuthType Basic
WebInterface Yes
<Location />
  Order allow,deny
  Allow localhost
  Require user shumkar
</Location>
<Location /admin>
  Order allow,deny
  Allow localhost
  Require user shumkar
</Location>
<Location /admin/conf>
  AuthType Default
  Order allow,deny
  Allow localhost
  Require user shumkar @SYSTEM
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user shumkar @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user shumkar @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user shumkar @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user shumkar @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

[-- Attachment #3: cups-files.conf --]
[-- Type: application/octet-stream, Size: 3000 bytes --]

#
# "$Id: cups-files.conf.in 10765 2012-12-13 20:36:17Z mike $"
#
# Sample file/directory/user/group configuration file for the CUPS scheduler.
# See "man cups-files.conf" for a complete description of this file.
#

# List of events that are considered fatal errors for the scheduler...
#FatalErrors config

# Default user and group for filters/backends/helper programs; this cannot be
# any user or group that resolves to ID 0 for security reasons...
#User lp
#Group lp

# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
SystemGroup lpadmin


# User that is substituted for unauthenticated (remote) root accesses...
#RemoteRoot remroot

# Do we allow file: device URIs other than to /dev/null?
#FileDevice No

# Permissions for configuration and log files...
#ConfigFilePerm 0640
#LogFilePerm 0644

# Location of the file logging all access to the scheduler; may be the name
# "syslog". If not an absolute path, the value of ServerRoot is used as the
# root directory.  Also see the "AccessLogLevel" directive in cupsd.conf.
AccessLog /var/log/cups/access_log

# Location of cache files used by the scheduler...
#CacheDir /var/cache/cups

# Location of data files used by the scheduler...
#DataDir /usr/share/cups

# Location of the static web content served by the scheduler...
#DocumentRoot /usr/share/cups/html

# Location of the file logging all messages produced by the scheduler and any
# helper programs; may be the name "syslog". If not an absolute path, the value
# of ServerRoot is used as the root directory.  Also see the "LogLevel"
# directive in cupsd.conf.
ErrorLog /var/log/cups/error_log

# Location of fonts used by older print filters...
#FontPath /usr/share/cups/fonts

# Location of LPD configuration
#LPDConfigFile 

# Location of the file logging all pages printed by the scheduler and any
# helper programs; may be the name "syslog". If not an absolute path, the value
# of ServerRoot is used as the root directory.  Also see the "PageLogFormat"
# directive in cupsd.conf.
PageLog /var/log/cups/page_log

# Location of the file listing all of the local printers...
#Printcap /etc/printcap

# Format of the Printcap file...
#PrintcapFormat bsd
#PrintcapFormat plist
#PrintcapFormat solaris

# Location of all spool files...
#RequestRoot /var/spool/cups

# Location of helper programs...
#ServerBin /usr/lib/cups

# SSL/TLS certificate for the scheduler...
#ServerCertificate ssl/server.crt

# SSL/TLS private key for the scheduler...
#ServerKey ssl/server.key

# Location of other configuration files...
#ServerRoot /etc/cups

# Location of Samba configuration file...
#SMBConfigFile 

# Location of scheduler state files...
#StateDir /run/cups

# Location of scheduler/helper temporary files. This directory is emptied on
# scheduler startup and cannot be one of the standard (public) temporary
# directory locations for security reasons...
#TempDir /var/spool/cups/tmp

#
# End of "$Id: cups-files.conf.in 10765 2012-12-13 20:36:17Z mike $".
#

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

* [gentoo-user] Re: Cups web interface, manage functions don't work
  2013-07-13 16:25 ` [gentoo-user] " Алексей Мишустин
@ 2013-07-13 16:48   ` Алексей Мишустин
  2013-07-13 16:50     ` codekick .
  0 siblings, 1 reply; 4+ messages in thread
From: Алексей Мишустин @ 2013-07-13 16:48 UTC (permalink / raw
  To: gentoo-user

Hi again,

I've found the reason of my problem, it's fun: my Firefox NoScript has
been blocking all cups manage functions :)

[SOLVED]

Have a nice week-end...

--
Regards,
Alex


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

* Re: [gentoo-user] Re: Cups web interface, manage functions don't work
  2013-07-13 16:48   ` Алексей Мишустин
@ 2013-07-13 16:50     ` codekick .
  0 siblings, 0 replies; 4+ messages in thread
From: codekick . @ 2013-07-13 16:50 UTC (permalink / raw
  To: gentoo-user

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

Бывает xD
13.07.2013 22:49 пользователь "Алексей Мишустин" <shumkar@shumkar.ru>
написал:

> Hi again,
>
> I've found the reason of my problem, it's fun: my Firefox NoScript has
> been blocking all cups manage functions :)
>
> [SOLVED]
>
> Have a nice week-end...
>
> --
> Regards,
> Alex
>
>

[-- Attachment #2: Type: text/html, Size: 577 bytes --]

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

end of thread, other threads:[~2013-07-13 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-13 16:21 [gentoo-user] Cups web interface, manage functions don't work Алексей Мишустин
2013-07-13 16:25 ` [gentoo-user] " Алексей Мишустин
2013-07-13 16:48   ` Алексей Мишустин
2013-07-13 16:50     ` codekick .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox