Newsgroups: comp.unix.aix Path: utzoo!utgpu!watserv1!mtimm From: mtimm@watserv1.waterloo.edu (Martin Timmerman) Subject: Re: bsh -o from the cron, but from where? Message-ID: <1991Feb3.205208.27299@watserv1.waterloo.edu> Organization: University of Waterloo References: <1991Feb3.155320.14616@odi.com> Date: Sun, 3 Feb 91 20:52:08 GMT Lines: 13 In article <1991Feb3.155320.14616@odi.com> benson@odi.com (Benson I. Margulies) writes: >The root on my 3002 system gets periodic mail from cron >saying that some job got an error by invoking bsh with the >-o argument. But no crontabs contain the string "bsh -o", >and I can't find anything else that does, either. > >Has anyone else sorted this out? > I had this problem also. root starts up with the ksh and the .profile file likely has a set -o vi or set -o emacs command in it. I changed the .profile to do the set -o vi only if the shell was interactive. Martin Timmerman, University of Waterloo