Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!usc!rutgers!umn-d-ub!cs.umn.edu!atc!hawkmoon!det From: det@hawkmoon.MN.ORG (Derek E. Terveer) Newsgroups: comp.unix.i386 Subject: Re: UUCP files/directories being removed under SCO UNIX Message-ID: <1990Jun9.223218.18091@hawkmoon.MN.ORG> Date: 9 Jun 90 22:32:18 GMT Organization: Home System (One of the Eternal Champions) Lines: 12 In article <1990Jun7.155204.27108@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes: > Another annoying incompatibility is that "su -c user script" will > execute user's .profile if user's login shell is ksh, but not with sh. > This can cause surprising behaviour when the command is run by cron, > the .profile has interactive commands, and the user changes his shell. There is a test that one can put in the front of the .profile to inhibit reading the rest of .profile for batch environments. derek -- Derek Terveer det@hawkmoon.MN.ORG