john chambers writes: > On my ubuntu system here (heron), /bin/sh is a symlink to > /bin/dash, for which there is a man page that starts off > explaining that it is a project to strictly implement the > POSIX definition of sh. same here under ubuntu ibex. look at how much smaller dash is than bash. the dash man page says it's sh, and seems to be a BSD project. it does indeed reject my offensive command ( hst=${HST:0:3} ). -rwxr-xr-x 1 root root 725136 080512:1448 bash* -rwxr-xr-x 1 root root 87924 080620:1207 dash* lrwxrwxrwx 1 root root 4 081229:1838 rbash -> bash* lrwxrwxrwx 1 root root 4 081229:1838 sh -> dash* > It's a bit weird that you'd get /bin/sh when you login, > if the /etc/passwd file has bash as your login shell. Is > this really what's going on? evidently. > I'd think that the login program would run your declared > shell, but it sounds like this isn't true any more. hard to keep up with the changes. dan j. daniel moylan 84 harvard ave brookline, ma 02446-6202 617-232-2360 (tel) 810-454-1823 (fax) jdm-LPA1KyJyIuz1P9xLtpHBDw@public.gmane.org www.moylan.us [death to html bloat!]