Package: adduser
Version: 3.63
Severity: normal
File: /usr/sbin/adduser

*** Please type your report below this line ***

    adduser --system --disabled-password testuser

writes ! in the encrypted password field of /etc/shadow despite having
the following lines in the source:

    } elsif ($arg eq "--disabled-password") {
        $ask_passwd = 0;
        $disabled_login = 0;
        } elsif ($arg eq "--disabled-login") {
        $ask_passwd = 0;
        $disabled_login = 1;
        }

        
    if ($ask_passwd) {
        &systemcall('/usr/bin/passwd', $new_name);
    } else {
        if(!$disabled_login) {
            &systemcall('/usr/sbin/usermod', '-p', '*', $new_name);
        }


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.11-1.pentium1.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages adduser depends on:
ii  debconf                 1.4.30.13        Debian configuration management sy
ii  passwd                  1:4.0.3-31sarge3 change and administer password and
ii  perl-base               5.8.4-8          The Pathologically Eclectic Rubbis

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to