ccollect:0.6.2->0.7.0
[nslu2-linux/optware.git] / sources / dropbear / shell-path.patch
blob99916ba9e685a504f229d1482dc6a678fe8d946d
1 diff -Bur dropbear-0.43/chansession.c dropbear/chansession.c
2 --- dropbear-0.44test4/svr-chansession.c 2004-07-16 19:14:40.000000000 +0930
3 +++ dropbear/svr-chansession.c 2004-09-05 15:30:38.000000000 +0930
4 @@ -862,6 +862,7 @@
5 addnewvar("LOGNAME", ses.authstate.pw->pw_name);
6 addnewvar("HOME", ses.authstate.pw->pw_dir);
7 addnewvar("SHELL", usershell);
8 + addnewvar("PATH", "/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin");
9 if (chansess->term != NULL) {
10 addnewvar("TERM", chansess->term);