[Adduser-devel] Bug#630643: adduser: Cancelling with Ctrl+C still adds entries to /etc/{passwd, group}
jamon
jamonation+bugs at gmail.com
Wed Jun 15 21:04:41 UTC 2011
Package: adduser
Version: 3.112+nmu2
Severity: normal
Cancelling adduser part way through the creation of a new user results in entries being written to /etc/passwd and /etc/group.
This behaviour is a) not what is normally expected when using Ctrl+C to cancel a command, and b) results in a potentially unconfigured but still existant user and group on a system.
The script should be modified to only write to passwd/group files *after* a user confirms with 'Y'.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages adduser depends on:
ii debconf [debconf-2.0 1.5.39 Debian configuration management sy
ii passwd 1:4.1.4.2+svn3283-3 change and administer password and
ii perl-base 5.12.3-7+b1 minimal Perl system
adduser recommends no packages.
Versions of packages adduser suggests:
ii liblocale-gettext-perl 1.05-6+b1 Using libc functions for internati
ii perl-modules 5.12.3-7 Core Perl modules
-- debconf information:
adduser/homedir-permission: true
More information about the Adduser-devel
mailing list