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

Bug#291177: [PROPOSAL] Policy for user/groups creation/removal in package maintainer scripts



On Wed, 19 Jan 2005, Javier Fernández-Sanguino Peña wrote:
> There is currently no policy on how should per-package users be created and 
> removed. Eeven though the 'UID and GID classes' sections determines that 
> packages _should_ use adduser --system in some occasions it doesn't 

Make it *must* use adduser --system, *if* they add an user at all.

> - maintainers scripts should create a system user for their daemon in
> postinst.  User creation should not fail if the user already exists
> (example code should be provided here, since this is sometimes not done
> properly in maintainer scripts). Maintainer scripts can ask to the admin if 
> the user already exists.

Maintainer scripts can ask about an already existing user *if and only if*
it is not a system user...  no more useless, aggravating postinst prompts,
please.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: