<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6719&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] cups administration denied]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6719</link>
		<description><![CDATA[The most recent posts in [SOLVED] cups administration denied.]]></description>
		<lastBuildDate>Wed, 10 Jul 2024 15:07:34 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] cups administration denied]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51027#p51027</link>
			<description><![CDATA[<p>OK, no idea where this setting came from:</p><div class="codebox"><pre><code># Restrict access to the admin pages...
&lt;Location /admin&gt;
  Require group printer-admins</code></pre></div><p>I never had a group called &quot;printer-admins&quot;</p><p>adding &quot;cups-admins&quot; to this does the trick.</p><p>I guess putting &quot;lpadmins&quot; there as first action would have done the trick.</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Wed, 10 Jul 2024 15:07:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51027#p51027</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] cups administration denied]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51024#p51024</link>
			<description><![CDATA[<p>I have a server and a client both running daedalus.<br />until recently I was able to do administration via webinterface.</p><p>I can log in via ssh on my server with my user account<br />I do get the &quot;jobs&quot; page of cups, but every attempt to log in to the admin interface ends with &quot;Your account does not have the necessary privileges.&quot;</p><p>I did notice that the GID of lpadmin are different on client and server (110 serv, 108 client).</p><p>So did go ahead and added a new group cups-admin and added my user to that group and changed <br /> the line in /etc/cups/cups-files.conf&#160; to</p><div class="codebox"><pre><code>SystemGroup root cups-admins</code></pre></div><p>/etc/cups/cupsd.conf seems to be in order, too.</p><div class="codebox"><pre class="vscroll"><code># Only listen for connections from the local machine.
#Listen localhost:631
Listen &lt;serverIP&gt;:631
Listen /run/cups/cups.sock

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
&lt;Location /&gt;
  Order allow,deny
  Allow From 127.0.0.1
  Allow From &lt;my internal netork&gt;
&lt;/Location&gt;

# Restrict access to the admin pages...
&lt;Location /admin&gt;
  Require group printer-admins
  Order allow,deny
  Allow From 127.0.0.1
  Allow From &lt;my internal netork&gt;
&lt;/Location&gt;

# Restrict access to configuration files...
&lt;Location /admin/conf&gt;
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
&lt;/Location&gt;

# Restrict access to log files...
&lt;Location /admin/log&gt;
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
&lt;/Location&gt;</code></pre></div><p>I&#039;m running out of ideas.</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Wed, 10 Jul 2024 14:28:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51024#p51024</guid>
		</item>
	</channel>
</rss>
