Re: [cups] Allow remote printer admin, but not edit config file

Helge Blischke <helgeblischke-S0/[email protected]>
Newsgroups gmane.comp.printing.cups.general
Message-ID <[email protected]>

> Am 05.02.2021 um 11:37 schrieb [email protected]:
> 
> Thanks Helge, unfortunately I cannot see how your answer relates to my question.
> 
> Currently, access to /admin/conf/ ist forbidden for everyone (see my posted config).
> This is wanted and works.
> 
> But unfortunately, that does not prevent users in the @SYSTEM group from editing the cupsd.conf file vie web GUI,
> because it looks like that goes over /admin/ and @SYSTEM group users have access to /admin/, because access to /admin/ is needed to administrate printers.
> 
> So how can users in the @SYSTEM group be allowed to administrate printers, but not edit cupsd.conf file ?
> 
> Because in cupsd.conf there is ACL configuration, and people could give themselves or others more privileges, but that shall not be.
> 
> 
>> I’d try something like:
>> 
>> <Location /admin/conf>
>> Oder allow, deny
>> Require user somebody@somegroup
>> </Location>
>> 
>> where somebody and/or some group are user- and group-names unique to the host 
>> the server is running.
>> 
>> Helge
>> 
>> _______________________________________________
>> cups mailing list
>> [email protected]
>> https://lists.cups.org/mailman/listinfo/cups
>> 
> _______________________________________________

Sorry, I forgot the „|“ in the require line; you can specify either a (list of) user name(s) or group name(s).

If that does not work, I’d suggest to file an error; it might be an issue with the cgi programs which do the web interface
operations.

Helge

_______________________________________________
cups mailing list
[email protected]
https://lists.cups.org/mailman/listinfo/cups
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.