Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239351

Re: CUPS permissions

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: CUPS permissions
Date 2021-08-26 20:30 +0200
Message-ID <CQsit-3eT-5@gated-at.bofh.it> (permalink)
References (5 earlier) <CQp1f-YV-3@gated-at.bofh.it> <CQpuh-1qe-9@gated-at.bofh.it> <CQpDY-1vX-3@gated-at.bofh.it> <CQrmq-2Ek-3@gated-at.bofh.it> <CQs8N-3bS-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 26, 2021 at 08:16:23PM +0200, tomas@tuxteam.de wrote:
> On Thu, Aug 26, 2021 at 06:24:01PM +0100, Brian wrote:
> > On Thu 26 Aug 2021 at 11:31:30 -0400, Greg Wooledge wrote:
> > 
> > > On Thu, Aug 26, 2021 at 04:25:54PM +0100, Brian wrote:
> > 
> > [...]
> > 
> > > > I also forgot: after carrying out the corrected procedure, log out and
> > > > log back in.
> > > 
> > > This is the part that I don't quite understand.  How does that matter?
> > 
> > The system needs to be updated on the groups the user is in. CUPS will
> > consult it.
> 
> there is also newgrp(1), that might do it (I haven't tried it explicitly).

Do what?  What's "it"?

Why would opening a shell with a new set of group privileges inside your
interactive session change how a daemonized CUPS web agent acts?

Logging out and back in is necessary for ensuring that your interactive
shells, your word processors, your web browsers, and so forth, are running
with your newly acquired privileges.  But we're not running printer
administration commands from the shell here, so our shell doesn't actually
need these privileges, as far as I can see.

(If you were in fact going to try disabling/enabling/adding printers
from the shell, then yeah.  Logging out and back in, or running
"exec su - $LOGNAME" or an equivalent command in one of your shells, would
be a good starting point.)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CUPS permissions Peter Ehlert <pb21a@sdi-baja.com> - 2021-08-25 14:50 +0200
  Re: CUPS permissions Henning Follmann <hfollmann@itcfollmann.com> - 2021-08-25 18:30 +0200
    Re: CUPS permissions Peter Ehlert <pb21a@sdi-baja.com> - 2021-08-25 20:50 +0200
      Re: CUPS permissions Greg Wooledge <greg@wooledge.org> - 2021-08-25 21:20 +0200
        Re: CUPS permissions Peter Ehlert <pb21a@sdi-baja.com> - 2021-08-26 14:10 +0200
          Re: CUPS permissions Tixy <tixy@yxit.co.uk> - 2021-08-26 14:30 +0200
          Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 14:40 +0200
            Re: CUPS permissions Greg Wooledge <greg@wooledge.org> - 2021-08-26 15:00 +0200
              Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 17:20 +0200
              Re: CUPS permissions Peter Ehlert <pb21a@sdi-baja.com> - 2021-08-28 16:20 +0200
              Re: CUPS permissions >Fixed Peter Ehlert <peter@sdi-baja.com> - 2021-08-28 16:40 +0200
                Re: CUPS permissions >Fixed Greg Wooledge <greg@wooledge.org> - 2021-08-28 21:40 +0200
                Re: CUPS permissions >Fixed Brian <ad44@cityscape.co.uk> - 2021-08-28 22:10 +0200
                Re: CUPS permissions >Fixed Brian <ad44@cityscape.co.uk> - 2021-08-28 21:40 +0200
          Re: CUPS permissions Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2021-08-26 14:40 +0200
          Re: CUPS permissions Charles Curley <charlescurley@charlescurley.com> - 2021-08-26 14:50 +0200
  Re: CUPS permissions Keith Bainbridge <keithrboz@gmail.com> - 2021-08-26 01:40 +0200
    Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 14:10 +0200
      Re: CUPS permissions Peter Ehlert <pb21a@sdi-baja.com> - 2021-08-26 15:20 +0200
        Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 16:50 +0200
          Re: CUPS permissions Greg Wooledge <greg@wooledge.org> - 2021-08-26 17:00 +0200
            Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 17:30 +0200
              Re: CUPS permissions Greg Wooledge <greg@wooledge.org> - 2021-08-26 17:40 +0200
                Re: CUPS permissions "Andrew M.A. Cater" <amacater@einval.com> - 2021-08-26 18:50 +0200
                Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 21:00 +0200
                Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 19:30 +0200
                Re: CUPS permissions <tomas@tuxteam.de> - 2021-08-26 20:20 +0200
                Re: CUPS permissions Greg Wooledge <greg@wooledge.org> - 2021-08-26 20:30 +0200
                Re: CUPS permissions <tomas@tuxteam.de> - 2021-08-26 21:00 +0200
            Re: CUPS permissions Brian <ad44@cityscape.co.uk> - 2021-08-26 17:30 +0200

csiph-web