Control: reopen -1 Control: reassign -1 user-setup-udeb 1.38 Control: tags -1 +patch
Hi all, apparently this bug slipped through and got closed as installation- report although the request hasn't been fulfilled as far as I could see. To tell a long story short; the first created user should be made member of the lpadmin group to make sure printers can easily be created through the CUPS webinterface http://localhost:631/. I've installed several Wheezy laptops for friends and everytime I was testing printing through the webinterface, it took me some time to realize that the user first had to be added to lpadmin. I think it's unnecessarily complicated and should be done straight away for the first user. (straightforward) Patch attached. Le mardi, 8 janvier 2013, 13.02:49 Brian Potkin a écrit : > On Tue 08 Jan 2013 at 07:14:26 +0100, Christian PERRIER wrote: > > Quoting jswmb01x (jswmb...@mobistarmail.be): > > > Clarification : > > > Adding "user1" to the lpadmin group was required to add the > > > printer in CUPS (otherwise after entering the user name and > > > password the operation is "forbidden"), not for printing.> > > Hmmm, well, then I would say this is cups that changed its behaviour > > and made it a requirement to have privleges in order to add a > > printer, even "plug n' play" toys. Which makes sense to me. Indeed, > > even on Windows, unprivileged users cannot add local printers to > > the system (but most Windows users don't notice as they always > > virtually work as "root" on their machines). > > The requirement has been present for the past 10+ years when using the > web interface of CUPS to add a printer. > > > That makes it less of a requirement to have the first created user > > in > > lpadmin, after more thinking. > > > > This bug could then even be "wontfix". > > Given the existing status of using group membership in d-i to grant > the first created user limited privileges, I think the issue revolves > round whether there is something special about the lpadmin group > which would militate against adding it to the first user account. > > A Cc: has been sent to debian-printing to allow them to comment on the > usefulness and wisdom of putting lpadmin in user-setup-udeb. Answering to that quite late, but I do agree it should be done. Cheers, OdyX
>From eb0d1f0dcab3b875efa95d3c094eca21d4abac55 Mon Sep 17 00:00:00 2001 From: Didier Raboud <o...@debian.org> Date: Sat, 4 Jan 2014 14:17:33 +0100 Subject: [PATCH] Add first user to lpadmin group to allow her to add printers through the CUPS webinterface (Closes: #697331) --- debian/changelog | 7 +++++++ debian/user-setup-udeb.templates | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f8a1f32..31d3fe3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +user-setup (1.55) UNRELEASED; urgency=medium + + * Add first user to lpadmin group to allow her to add printers through + the CUPS webinterface (Closes: #697331) + + -- Didier Raboud <o...@debian.org> Sat, 04 Jan 2014 14:17:09 +0100 + user-setup (1.54) unstable; urgency=low [ Updated translations ] diff --git a/debian/user-setup-udeb.templates b/debian/user-setup-udeb.templates index 822e8a6..603325f 100644 --- a/debian/user-setup-udeb.templates +++ b/debian/user-setup-udeb.templates @@ -19,7 +19,7 @@ Description: for internal use only # Allow preseeding the groups to which the first created user is added Template: passwd/user-default-groups Type: string -Default: audio cdrom dip floppy video plugdev netdev powerdev scanner bluetooth debian-tor +Default: audio cdrom dip floppy video plugdev netdev powerdev scanner bluetooth debian-tor lpadmin Description: for internal use only Template: passwd/root-login -- 1.8.5.2
signature.asc
Description: This is a digitally signed message part.