Discussion:
Web admin access for a group (non-root)
Helmut Jarausch
2006-10-27 18:52:00 UTC
Permalink
Hi, this is definitely a FAQ, still I couldn't find it there.

With CUPS 1.2.5, how can I allow a group of users or at least one
(artificial) non-root user to access cups via

http://localhost:631/admin

Many thanks for a hint,

Helmut.
Michael Sweet
2006-10-27 19:01:11 UTC
Permalink
Post by Helmut Jarausch
Hi, this is definitely a FAQ, still I couldn't find it there.
With CUPS 1.2.5, how can I allow a group of users or at least one
(artificial) non-root user to access cups via
http://localhost:631/admin
Many thanks for a hint,
Create a UNIX group for your printing administrators; you usually
do this by editing the /etc/group file, but on Mac OS X you'll need
to run Net Info Manager.

Edit the cupsd.conf file (through the web interface if you like) and
add a line reading:

SystemGroup yourgroupnamehere

That will allow any user in the group to do printer administration
stuff with the default policies.

For more complex behavior, see the help document on operation
policies:

http://localhost:631/help/policies.html
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
Stroller
2006-10-28 00:07:42 UTC
Permalink
Post by Michael Sweet
Post by Helmut Jarausch
...
With CUPS 1.2.5, how can I allow a group of users or at least one
(artificial) non-root user to access cups via
http://localhost:631/admin
...
Edit the cupsd.conf file (through the web interface if you like) and
SystemGroup yourgroupnamehere
Hi there,

Interesting that you should say this. I had this same problem myself
last week & worked the solution out for myself.

On my distro CUPS came shipped thus:
$ grep ^SystemGroup /etc/cups/cupsd.conf
SystemGroup lp
$

Consequently, the only thing to do was to add the user to the "lp"
group with `sudo gpasswd -a stroller lp`. I know this because it's
still in my bash history. ;D

Does CUPS not come with SystemGroup set from the factory, or have my
distro added this for me?

Just curious,

Stroller.
Michael Sweet
2006-10-28 01:03:36 UTC
Permalink
Post by Stroller
Post by Michael Sweet
Post by Helmut Jarausch
...
With CUPS 1.2.5, how can I allow a group of users or at least one
(artificial) non-root user to access cups via
http://localhost:631/admin
...
Edit the cupsd.conf file (through the web interface if you like) and
SystemGroup yourgroupnamehere
Hi there,
Interesting that you should say this. I had this same problem myself
last week & worked the solution out for myself.
$ grep ^SystemGroup /etc/cups/cupsd.conf
SystemGroup lp
$
Consequently, the only thing to do was to add the user to the "lp" group
with `sudo gpasswd -a stroller lp`. I know this because it's still in my
bash history. ;D
Does CUPS not come with SystemGroup set from the factory, or have my
distro added this for me?
CUPS does have a default group, but it is often "sys", "system", or
"root", which are also often used for other admin tasks...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
Stroller
2006-10-28 04:09:54 UTC
Permalink
Post by Michael Sweet
Post by Stroller
...
$ grep ^SystemGroup /etc/cups/cupsd.conf
SystemGroup lp
$
Consequently, the only thing to do was to add the user to the "lp" group
with `sudo gpasswd -a stroller lp`. I know this because it's still in my
bash history. ;D
Does CUPS not come with SystemGroup set from the factory, or have my
distro added this for me?
CUPS does have a default group, but it is often "sys", "system", or
"root", which are also often used for other admin tasks...
Thanks!

Stroller.

Continue reading on narkive:
Loading...