Debian Bug report logs - #435778
adduser --system --quiet should fail if user exists and is not a system user

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Vincent Bernat <bernat@luffy.cx>

Date: Fri, 3 Aug 2007 06:00:04 UTC

Severity: wishlist

Found in version adduser/3.104

Fixed in version adduser/3.106

Done: Stephen Gran <sgran@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#435778; Package adduser. (full text, mbox, link).


Acknowledgement sent to Vincent Bernat <bernat@luffy.cx>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vincent Bernat <bernat@luffy.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: adduser --system --quiet should fail if user exists and is not a system user
Date: Fri, 03 Aug 2007 07:58:36 +0200
Package: adduser
Version: 3.104
Severity: wishlist

Hi !

When using adduser --system --quiet, there is no error if the user
exists. I think that adduser should issue an error if the error exists
and is not a system user. This way, the installation of a package will
fail instead of using a non system user for running a daemon.

Example of package using adduser without checking user is ntp. Most
other packages check if the user exists before using adduser and
therefore will not benefit of this change.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]      1.5.14        Debian configuration management sy
ii  passwd                     1:4.0.18.1-11 change and administer password and
ii  perl-base                  5.8.8-7       The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information:
  adduser/homedir-permission: true



Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Vincent Bernat <bernat@luffy.cx>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 435778-close@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: 435778-close@bugs.debian.org
Subject: Bug#435778: fixed in adduser 3.106
Date: Sun, 02 Mar 2008 17:17:02 +0000
Source: adduser
Source-Version: 3.106

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive:

adduser_3.106.dsc
  to pool/main/a/adduser/adduser_3.106.dsc
adduser_3.106.tar.gz
  to pool/main/a/adduser/adduser_3.106.tar.gz
adduser_3.106_all.deb
  to pool/main/a/adduser/adduser_3.106_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 435778@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <sgran@debian.org> (supplier of updated adduser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 02 Mar 2008 16:57:21 +0000
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.106
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Stephen Gran <sgran@debian.org>
Description: 
 adduser    - add and remove users and groups
Closes: 145430 435778 439212 442203 447104 447868 451321 451967 452289 452290 453419 454928 468152
Changes: 
 adduser (3.106) unstable; urgency=low
 .
   [ Joerg Hoh ]
   * adduser exits with returncode 1 if trying to add an already existing user
     as system user. Thanks to Vincent Bernat; Closes: #435778
   * deluser: warn if you want to remove the root account. Closes: #145430
   * deluser: fix backup when bzip2 is not available. Closes: #453419
   * deluser: print correct warning when you removed the last user in a group;
     thanks Marc 'Zugschlus' Haber and Peter Eisentraut
     (Closes: #454928,#451967)
 .
   [ Stephen Gran ]
   * Translation:
     be (thanks Pavel Piatruk <berserker@neolocation.com>)( closes: #447104)
     fr (thanks Nicolas François <nicolas.francois@centraliens.net>)
     (closes: #442203)
     ru (thanks Yuri Kozlov <kozlov.y@gmail.com>)(closes: #452289, #452290)
     sk (thanks Ivan Masár <helix84@centrum.sk>)(closes: #439212)
     zh_CN (thanks LI Daobing <lidaobing@gmail.com>)(closes: #447868)
   * Clarify --in-group documentation (closes: #468152)
   * deluser: Let tar gzip/bzip backups directly (closes: #451321)
   * Update Standards Version (no changes)
   * Homepage, Vcs-Svn and Vcs-Browser fields added
   * Do nothing in binary-arch
Files: 
 542e266dab99f99dea31a4ba016fd7d7 835 admin important adduser_3.106.dsc
 3329395cc47d3f5f147e87028736387b 262830 admin important adduser_3.106.tar.gz
 be4885c8629de328cc18cff8352d280e 183366 admin important adduser_3.106_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyt0bSYIMHOpZA44RAoekAKDP4rjhUqCdHRv0lnrQyQTGnK2fbgCfX/Jo
ffCcTqO+7IMpzabvF+jGodA=
=bPI8
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 11 Apr 2008 07:39:27 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 21:03:43 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.