Surely you can see the problem; without keeping careful track of
time, it's impossible for me to know whether the prompt I'm
presented with is a sudo prompt or an scp prompt. IMHO sudo's prompt
should say something akin to "sudo: Password:" or "Password for root
access:" to avoid ambiguity.
I am aware that this would probably break some scripts.
I am also filing a similar bug against ssh, since it's also guilty of
an ambiguous password prompt.
-- 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.14-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages sudo depends on:
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libpam-modules 0.79-3 Pluggable Authentication Modules f
ii libpam0g 0.79-3 Pluggable Authentication Modules l
Package: sudo
Version: 1.6.8p9-3
Severity: wishlist
[moise@mole /etc/openvpn]$ sudo scp '<email address hidden> :/etc/openvpn/ *' .
Password:
Password:
Surely you can see the problem; without keeping careful track of
time, it's impossible for me to know whether the prompt I'm
presented with is a sudo prompt or an scp prompt. IMHO sudo's prompt
should say something akin to "sudo: Password:" or "Password for root
access:" to avoid ambiguity.
I am aware that this would probably break some scripts.
I am also filing a similar bug against ssh, since it's also guilty of
an ambiguous password prompt.
-- System Information: en_US.UTF- 8 (charmap=UTF-8)
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.14-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Versions of packages sudo depends on:
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libpam-modules 0.79-3 Pluggable Authentication Modules f
ii libpam0g 0.79-3 Pluggable Authentication Modules l
sudo recommends no packages.
-- no debconf information