Debian Bug report logs - #845791
adduser: /bin/false vs /usr/sbin/nologin

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: Olaf van der Spek <olafvdspek@gmail.com>

Date: Sat, 26 Nov 2016 18:18:02 UTC

Severity: wishlist

Tags: confirmed

Found in version adduser/3.115

Fixed in version adduser/3.116

Done: Afif Elghraoui <afif@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, olafvdspek@gmail.com, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#845791; Package adduser. (Sat, 26 Nov 2016 18:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Olaf van der Spek <olafvdspek@gmail.com>:
New Bug report received and forwarded. Copy sent to olafvdspek@gmail.com, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 26 Nov 2016 18:18:04 GMT) (full text, mbox, link).


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

From: Olaf van der Spek <olafvdspek@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: adduser: /bin/false vs /usr/sbin/nologin
Date: Sat, 26 Nov 2016 19:14:53 +0100
Package: adduser
Version: 3.115
Severity: wishlist

Dear Maintainer,

Some system accounts use /bin/false, most use /usr/sbin/nologin as shell.
adduser --system defaults to /bin/false.. wouldn't it be nicer to default to /usr/sbin/nologin?

Gr,
Olaf

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.8.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  passwd                 1:4.2-3.2

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl  1.07-3+b1
ii  perl                    5.24.1~rc3-3

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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#845791; Package adduser. (Sat, 26 Nov 2016 18:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Afif Elghraoui <afif@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 26 Nov 2016 18:39:04 GMT) (full text, mbox, link).


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

From: Afif Elghraoui <afif@debian.org>
To: Olaf van der Spek <olafvdspek@gmail.com>, 845791@bugs.debian.org
Subject: Re: [Adduser-devel] Bug#845791: adduser: /bin/false vs /usr/sbin/nologin
Date: Sat, 26 Nov 2016 10:37:54 -0800
Control: tag -1 + confirmed

Hello,

على السبت 26 تشرين الثاني 2016 ‫10:14، كتب Olaf van der Spek:
> Package: adduser
> Version: 3.115
> Severity: wishlist
> 
> Dear Maintainer,
> 
> Some system accounts use /bin/false, most use /usr/sbin/nologin as shell.

It looks like the ones created by base-passwd are the ones using
/usr/sbin/nologin.

> adduser --system defaults to /bin/false.. wouldn't it be nicer to default to /usr/sbin/nologin?
> 

Yes.

Thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



Added tag(s) confirmed. Request was from Afif Elghraoui <afif@debian.org> to 845791-submit@bugs.debian.org. (Sat, 26 Nov 2016 18:39:04 GMT) (full text, mbox, link).


Message sent on to Olaf van der Spek <olafvdspek@gmail.com>:
Bug#845791. (Sat, 12 Aug 2017 20:18:10 GMT) (full text, mbox, link).


Message #15 received at 845791-submitter@bugs.debian.org (full text, mbox, reply):

From: Afif Elghraoui <afif@debian.org>
To: 845791-submitter@bugs.debian.org
Subject: Bug#845791 in package adduser marked as pending
Date: Sat, 12 Aug 2017 20:14:09 +0000
Control: tag 845791 pending

Bug #845791 in package adduser reported by you has been fixed in
the adduser/adduser.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/adduser/adduser.git/commit/?id=c4c4ab7

---
commit c4c4ab7aaa6f236da1335320dee9f49f3fb51d3f
Author: Afif Elghraoui <afif@debian.org>
Date:   Sat Aug 12 16:11:30 2017 -0400

    releasing package adduser version 3.116

diff --git a/debian/changelog b/debian/changelog
index 924c1c6..d31eb6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-adduser (3.116) UNRELEASED; urgency=medium
+adduser (3.116) unstable; urgency=medium
 
   * Advise installation of 'perl' rather than 'perl-modules'
     (Closes: #840982)
@@ -6,9 +6,12 @@ adduser (3.116) UNRELEASED; urgency=medium
     (Closes: #763055)
   * Improve message accompanying error code for creating system user
     (Closes: #708073, #759740)
-  * testsuite: add current directory to module search path
+  * testsuite: add current directory to Perl module search path
+  * Use /usr/sbin/nologin instead of /bin/false for default system shell
+    (Closes: #845791)
+  * Bump Standards-Version to 4.0.1
 
- -- Afif Elghraoui <afif@debian.org>  Sat, 12 Aug 2017 11:44:19 -0400
+ -- Afif Elghraoui <afif@debian.org>  Sat, 12 Aug 2017 16:05:34 -0400
 
 adduser (3.115) unstable; urgency=medium
 



Added tag(s) pending. Request was from Afif Elghraoui <afif@debian.org> to 845791-submitter@bugs.debian.org. (Sat, 12 Aug 2017 20:18:10 GMT) (full text, mbox, link).


Reply sent to Afif Elghraoui <afif@debian.org>:
You have taken responsibility. (Sat, 12 Aug 2017 20:51:19 GMT) (full text, mbox, link).


Notification sent to Olaf van der Spek <olafvdspek@gmail.com>:
Bug acknowledged by developer. (Sat, 12 Aug 2017 20:51:19 GMT) (full text, mbox, link).


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

From: Afif Elghraoui <afif@debian.org>
To: 845791-close@bugs.debian.org
Subject: Bug#845791: fixed in adduser 3.116
Date: Sat, 12 Aug 2017 20:49:20 +0000
Source: adduser
Source-Version: 3.116

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.

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 845791@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Afif Elghraoui <afif@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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 12 Aug 2017 16:05:34 -0400
Source: adduser
Binary: adduser
Architecture: source
Version: 3.116
Distribution: unstable
Urgency: medium
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Afif Elghraoui <afif@debian.org>
Description:
 adduser    - add and remove users and groups
Closes: 708073 759740 763055 840982 845791
Changes:
 adduser (3.116) unstable; urgency=medium
 .
   * Advise installation of 'perl' rather than 'perl-modules'
     (Closes: #840982)
   * Improve distinction between informational and essential messages
     (Closes: #763055)
   * Improve message accompanying error code for creating system user
     (Closes: #708073, #759740)
   * testsuite: add current directory to Perl module search path
   * Use /usr/sbin/nologin instead of /bin/false for default system shell
     (Closes: #845791)
   * Bump Standards-Version to 4.0.1
Checksums-Sha1:
 649f82bad2d5234d899c126a19bb66bc7867a8f0 1740 adduser_3.116.dsc
 8cd86a573f8e9ede3cee2fd14a35287bf300eb68 212012 adduser_3.116.tar.xz
 30e561dae6a99add7c6d925b28129905493f7577 5767 adduser_3.116_source.buildinfo
Checksums-Sha256:
 50e4154d3101101a890864185a09478c182155dc13f73dbb465c4279213bfafa 1740 adduser_3.116.dsc
 72d811ad3ba17d2794b14d19acd1d6b57f9dd31d9250d51e786895dee2daeac0 212012 adduser_3.116.tar.xz
 a2c50a451d87ebac2e8007f55d7850afc581c2ce9d0a09d544a59a42132adabf 5767 adduser_3.116_source.buildinfo
Files:
 66a17b27890067707dbf9580814c7918 1740 admin important adduser_3.116.dsc
 e042a5842b8f24312d6f5a99a1af8f2c 212012 admin important adduser_3.116.tar.xz
 fee33cdea505963c2bbe2b6cbedd0e5b 5767 admin important adduser_3.116_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6rcjomb2J+aAVWFfWbIwbzr53cEFAlmPYVMQHGFmaWZAZGVi
aWFuLm9yZwAKCRBZsjBvOvndwUd7D/4387QEKKi7MKVZqxiIEJnzGsE4OV7f5vZr
U1FQV2tQruYyMYOFg1Q2b4Dr639hSa0AJhw2Mr7Nb/zzxN7amIlJWcowM2fUWxKz
ulMLsizC5yISUE0AKqbIzHPHl55yJMjDLS89iPE1OO9Axdbss8wr2VZC4pVTejgW
+BIcZyHH0um+4cj2PTjFjVH7TpwsRY2kl+SW7tyxolaDdnVNY4YX37Jr4SOo3NcJ
ld5BNpCxjjqFl2T0AzZNv3kMrqs3/MvULP5aHt91mjdRAf59V2+HPg/jMm9UeEkJ
B4JguAbFibKnB8WdBkMzSNXUSUNla09p4dfEYFNPUcZYrUfC/MAwTzcf/rt6DxbQ
E6IRnhiw/KAEh4kK6DYpXBawwLokysfFA3yfGTH3tf7Ii5/9g6Ajwefswwt+pWqP
d10uh9TEY5QgLlDsC4dlgPFnD3UrmUGTdflAIx5DjsjDcrxVrwKDbiiork/LjcfE
pqiojmHJhyjbBUSmT+APp8QCPY7BC/is+mPQBYUH8coUEwPRhQ/cpVAKlS5yuuj6
xm95bp+I9CSoGZuBjBtlY7zFDndLy6FSY6Dfkr/w91avmDyOHsMF0RnaHSBlD5Q8
VbU/euaQlWdj1teShZRHwqx5K7h2V0k9WMW/UWZNKZFKK3Fj9nTj/zxYwzRZGySx
XhfTxIps3A==
=jUjJ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 15 Sep 2017 07:31:19 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:13:57 2023; Machine Name: bembo

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.