[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#485911: debian-installer: Add default user to 'scanner' group



On Thu, Jun 12, 2008 at 09:19:57AM +0100, Sam Morris wrote:
> Package: debian-installer
> Severity: normal

> The default user should be added to the 'scanner' group so that they can
> use image scanners. We already add them to plugdev, netdev, video, etc.,
> so I think this is consistent with what is already done.

> Index: packages/user-setup/debian/user-setup-udeb.templates
> ===================================================================
> --- packages/user-setup/debian/user-setup-udeb.templates	(revision 53669)
> +++ packages/user-setup/debian/user-setup-udeb.templates	(working copy)
> @@ -19,7 +19,7 @@
>  # Allow preseeding the groups to which the first created user is added
>  Template: passwd/user-default-groups
>  Type: string
> -Default: audio cdrom dialout floppy video plugdev netdev powerdev
> +Default: audio cdrom dialout floppy video plugdev netdev powerdev scanner
>  Description: for internal use only
>  
>  Template: passwd/root-login

This is not a very robust way to accomplish this, because the scanner group
is only created by a small set of scanner-related packages in the postinst;
it's never created as part of the base system.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org



Reply to: