Package: base-files
Version: 5.1
Severity: normal

Steps to reproduce:
1) apt-get install dropbear
2) sudo dropbear -d /etc/dropbear/dropbear_dss_host_key -r 
/etc/dropbear/dropbear_rsa_host_key -p 622 -W 65536 -P dropbear.pid -F -E
3) ssh localhost -p 622 -l root 'echo $PATH'

Expected results:
3) root's PATH includes /sbin

Actual results:
3) root's PATH is just "/usr/bin:/bin"

More info:
1) strace shows that dropbear SSH server does not execve() login at
all. Thus login.defs does not get read.
2) If you feel like this is an error in dropbear, please reassign. I
reported this against base-files since its change triggered this and I
am not sure if SSH servers are supposed to invoke login or not.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.29-GTA02_lindi2-andy-tracking-mokodev
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages base-files depends on:
ii  base-passwd                   3.5.22     Debian base system master password
ii  mawk [awk]                    1.3.3-15   a pattern scanning and text proces

base-files recommends no packages.

base-files suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to