<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [cups] lpadmin group not present in cups-files.conf ?]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=267</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=267&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [cups] lpadmin group not present in cups-files.conf ?.]]></description>
		<lastBuildDate>Sat, 12 Oct 2019 06:34:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[cups] lpadmin group not present in cups-files.conf ?]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=1220#p1220</link>
			<description><![CDATA[<p>Hello,</p><p>To setup my printer with :</p><div class="codebox"><pre><code>system-config-printer</code></pre></div><p>I&#039;ve had to enable cupsd service</p><div class="codebox"><pre><code>rc-update add cupsd default</code></pre></div><p>And in :</p><div class="codebox"><pre><code>/etc/cups/cups-files.conf</code></pre></div><p>changed this </p><div class="codebox"><pre><code>[...]

# 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 daemon
#Group lp

# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup sys root

[...]</code></pre></div><p>to this :</p><div class="codebox"><pre><code>[...]

# 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 daemon
Group lp

# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup sys root lpadmin

[...]</code></pre></div><p>So, uncomment &quot;Group lp&quot; and add &quot;lpadmin&quot; to &quot;SystemGroup&quot;</p><p>then add &quot;lp&quot; &amp; &quot;lpadmin&quot; groups to my username until I realize &quot;lpadmin&quot; was not present. So I added it :</p><div class="codebox"><pre><code>groupadd -r lpadmin</code></pre></div><div class="codebox"><pre><code>gpasswd -a username lpadmin</code></pre></div><p>Now, everything is working fine.</p><p>But I wonder why &quot;lpadmin&quot; group is not present by default as available group and also present in &quot;SystemGroup [...] &quot; (in /etc/cups/cups-files.conf ), with other distro, this is usually set by default.</p><p>I think it would be great to make it default and add a little reminder in CUPS postpkg install to warn the user that he needs to add his username to the lpadmin group to be able to add a printer.</p><p>(If the way I did it is not the correct way, please tell me.)</p>]]></description>
			<author><![CDATA[null@example.com (aether)]]></author>
			<pubDate>Sat, 12 Oct 2019 06:34:54 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=1220#p1220</guid>
		</item>
	</channel>
</rss>
