n Wed, 4 Aug 2010, Enrico Zini wrote: > Hello, > > I tried it here, it's very much reproducible and rather nasty as it > means apt-get is currently broken on new systems: > > # mv /etc/profile /etc/profile.orig > # cp /usr/share/base-files/profile /etc/profile > # logout > Connection to 192.168.0.202 closed. > $ ssh r...@ciapino > # echo $PATH > /root/bin:/usr/bin:/bin
Hmm, where does that PATH come from? In my system, where /etc/profile is the same as /usr/share/base-files/profile, I get this: $ ssh r...@localhost # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 but I don't know where that PATH comes from either. > I don't know if the problem is apt-get not ensuring PATH is sane, > /etc/profile not setting path, ssh daemons not running pam properly. > Probably a round of mails among the various maintainers involved would > help. Any chance a significant number of you are at debconf? Well, most of the technical committee is here, so I thought about asking them for advice, but for now I'm just going to Cc: Colin as he is one of the maintainers of ssh. Colin: With your ssh maintainer hat on, do you think that removing PATH from /etc/profile will generate problems that we will not be able to solve easily? -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

