Re: Bug#697331: Please add the first created user to lpadmin

2014-01-04 Thread Didier 'OdyX' Raboud
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,

OdyXFrom 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.


Processed: Re: Bug#697331: Please add the first created user to lpadmin

2014-01-04 Thread Debian Bug Tracking System
Processing control commands:

 reopen -1
Bug #697331 {Done: Christian PERRIER bubu...@debian.org} [user-setup] Please 
add the first created user to lpadmin
Bug reopened
Ignoring request to alter fixed versions of bug #697331 to the same values 
previously set
 reassign -1 user-setup-udeb 1.38
Bug #697331 [user-setup] Please add the first created user to lpadmin
Bug reassigned from package 'user-setup' to 'user-setup-udeb'.
Ignoring request to alter found versions of bug #697331 to the same values 
previously set
Ignoring request to alter fixed versions of bug #697331 to the same values 
previously set
Bug #697331 [user-setup-udeb] Please add the first created user to lpadmin
Marked as found in versions user-setup/1.38.
 tags -1 +patch
Bug #697331 [user-setup-udeb] Please add the first created user to lpadmin
Added tag(s) patch.

-- 
697331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697331
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b697331.138884156017726.transcr...@bugs.debian.org



Bug#733948: duplicate of Bug#697331: Please add the first created user to lpadmin

2014-01-04 Thread Andreas Cadhalpun

Hi,

I think #733948 is a duplicate of #697331.

Best regards,
Andreas


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52c81002.8000...@googlemail.com



Re: Bug#733948: duplicate of Bug#697331: Please add the first created user to lpadmin

2014-01-04 Thread Christian PERRIER
reassign 733948 user-setup
reassign 697331 user-setup
forcemerge 697331 733948
thanks

Quoting Andreas Cadhalpun (andreas.cadhal...@googlemail.com):
 Hi,
 
 I think #733948 is a duplicate of #697331.


Definitely.

Reassigning to user-setup where this belongsand, while I'm at it,
fixing it..:-)




signature.asc
Description: Digital signature


Processed: Re: Bug#733948: duplicate of Bug#697331: Please add the first created user to lpadmin

2014-01-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 733948 user-setup
Bug #733948 [hplip-gui] hplip-gui: HP Toolbox can't be used as regular user 
when root account disabled
Bug reassigned from package 'hplip-gui' to 'user-setup'.
No longer marked as found in versions hplip/3.13.11-2.
Ignoring request to alter fixed versions of bug #733948 to the same values 
previously set
 reassign 697331 user-setup
Bug #697331 [user-setup-udeb] Please add the first created user to lpadmin
Bug reassigned from package 'user-setup-udeb' to 'user-setup'.
No longer marked as found in versions user-setup/1.38.
Ignoring request to alter fixed versions of bug #697331 to the same values 
previously set
 forcemerge 697331 733948
Bug #697331 [user-setup] Please add the first created user to lpadmin
Bug #733948 [user-setup] hplip-gui: HP Toolbox can't be used as regular user 
when root account disabled
Severity set to 'normal' from 'important'
Added tag(s) d-i and patch.
Merged 697331 733948
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
697331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697331
733948: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733948
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138890818629460.transcr...@bugs.debian.org