reassign 571086 dropbear
thanks

On Tue, 23 Feb 2010, Timo Juhani Lindfors wrote:

> 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.

Dropping the PATH from the default /etc/profile is something people
have been asking for ages: "There should be a single file to change
the default PATH, and that single file should probably be login.defs".

So yes, I think dropbear should behave the same as openssh-server.



-- 
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