Xref: utzoo comp.unix.questions:14871 comp.bugs.sys5:1031 comp.unix.microport:3561 Path: utzoo!attcan!utgpu!watmath!iuvax!rutgers!mcdchg!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.unix.questions,comp.bugs.sys5,comp.unix.microport Subject: Re: ksh and sh Summary: su user -c "command" executes .profile Message-ID: <8929@chinet.chi.il.us> Date: 12 Jul 89 03:18:24 GMT References: <372@trevan.UUCP> Reply-To: les@chinet.chi.il.us (Leslie Mikesell) Followup-To: comp.unix.questions Organization: Chinet - Public Access Unix Lines: 12 In article <372@trevan.UUCP> trevor@trevan.UUCP (trevor) writes: > Is there anything wrong in changing the name of ksh to sh or >is there any incompatability. Among other possible problems you will find that if you have any rc or cron commands of the form: su user -c command ksh will execute the .profile of the user before executing the command. This can cause trouble if there are interactive prompts. Les Mikesell