Installing CUPS service, how to access its config page?
Keith
keithw at caramail.com
Sat Nov 11 18:35:15 UTC 2023
On 11/11/23 11:27 AM, Bo Berglund wrote:
> On Sat, 11 Nov 2023 10:06:49 -0600, Keith <keithw at caramail.com> wrote:
>
>> p.s. did you log out and back on after using the usermod command?
>
> No, but what would that do to the web access from another computer?
>
>
Nothing, until you try to actually make a change and you get an
authorization prompt. My answer was focused getting browser-based local
access working.
Aside from setting which interface to listen on, did you also add an
Allow directive for your remote machine under the Location sections?
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
By default, access is denied unless you whitelist the
ip/hostname/domain/subnet etc. of the machine your connecting from.
There's an example at the bottom of the manpage for cupsd.conf that
shows what that would look like.
The following should work. Of course, reversing the order "allow,deny"
to "deny,allow" in these sections (or using Allow all) will open
everything up.
# Restrict access to the server...
<Location />
Order allow,deny
Allow ipv4-address (ip address of remote machine)
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow ipv4-address (ip address of remote machine)
</Location>
Just depends on how much access you want to allow.
--
Keith
More information about the ubuntu-users
mailing list