John Paul Adrian Glaubitz dixit: >> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674116
Where Peter Eisentraut states to not put anything that echos into /etc/profile – which is WRONG! /etc/profile is THE ONE PLACE to put stuff like that in. On many more or less historic Unicēs, a call to fortune(6) was in there, for example. Basically: a login shell runs the profile. Your su(1) invocation uses the old form of the -l option, the single dash at the end, which makes the shell a login shell. Don’t do that, period. I think I can speak with the authority of the maintainer of a shell here. (And if needed, I can probably get enough other such people to ACK that statement.) Just use the -c (--chuid) option of start-stop-daemon and do not use su(1) unless there’s something really special that you need it to do. (In my experiments, just dropping the lone dash from the line also seems to work.) bye, //mirabilos -- FWIW, I'm quite impressed with mksh interactively. I thought it was much *much* more bare bones. But it turns out it beats the living hell out of ksh93 in that respect. I'd even consider it for my daily use if I hadn't wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org