[Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

Robert Millan rmh at aybabtu.com
Mon Oct 10 16:19:49 UTC 2005


Package: passwd
Version: 1:4.0.3-39
Severity: normal

aragorn:~# chfn rmh
Changing the user information for rmh
Enter the new value, or press ENTER for the default
        Full Name [rmh]:^C
aragorn:~# cat | chfn rmh
Changing the user information for rmh
Enter the new value, or press ENTER for the default
^C
aragorn:~# chfn rmh | cat
^C
aragorn:~# chfn rmh 2>&1 | cat
^C
aragorn:~#

-- 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.11-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages passwd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libpam-modules                0.76-23    Pluggable Authentication Modules f
ii  libpam0g                      0.76-23    Pluggable Authentication Modules l
ii  login                         1:4.0.3-39 system login tools

passwd recommends no packages.

-- debconf information excluded




More information about the Pkg-shadow-devel mailing list