[Adduser-devel] Bug#339670: newest adduser fails to parse adduser.conf

David Bishop david at gnuconsulting.com
Thu Nov 17 21:28:43 UTC 2005


Package: adduser
Version: 3.77
Severity: important


The latest version of adduser (and deluser) says is fails to parse
adduser.conf, one error per uncommented line.  Rolling back to the
previous version fixes it.  Screen shot:

[ david at server1 ] $ sudo adduser crap
adduser: Couldn't parse `/etc/adduser.conf':29.
adduser: Couldn't parse `/etc/adduser.conf':30.
adduser: Couldn't parse `/etc/adduser.conf':34.
adduser: Couldn't parse `/etc/adduser.conf':35.
adduser: Couldn't parse `/etc/adduser.conf':45.
adduser: Couldn't parse `/etc/adduser.conf':62.
Adding user `crap'...
<snip>

[ david at server1 ] $ sudo dpkg -i ~/adduser_3.77_all.deb
dpkg - warning: downgrading adduser from 3.78 to 3.77.
(Reading database ... 39676 files and directories currently installed.)
Preparing to replace adduser 3.78 (using .../david/adduser_3.77_all.deb)
...
Unpacking replacement adduser ...
Setting up adduser (3.77) ...

[ david at server1 ] $ sudo deluser crap
Removing user `crap'...
done.

[ david at server1 ] $ sudo adduser crap
Adding user `crap'...

I also noticed that some lines in adduser.conf were duplicated
(FIRST_UID, LAST_UID, FIRST_SYSTEM_UID, and LAST_SYSTEM_UID were all on
there twice).  I know I hadn't modified the file, so the defaults may be
screwed up.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.4.59     Debian configuration management sy
ii  passwd                        1:4.0.13-6 change and administer password and
ii  perl-base                     5.8.7-8    The Pathologically Eclectic Rubbis

adduser recommends no packages.

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




More information about the Adduser-devel mailing list