some users act differfently

Bill Campbell bill at celestial.com
Sat Oct 31 15:54:33 PDT 2015


On Sat, Oct 31, 2015, Jean-Pierre Radley via Filepro-list wrote:
...
>The problem command works for me, and I am logged in via Anzio to the
>site.  It works for most of the customer's users, also logged via Anzio.
>
>It does not work for two of their users, and it does not work for me if
>I run "su" to "become" either of those users.
>
>All uses of the DEL key to get out of a filePro routine, by any user,
>including two problems users, work as expected, EXCEPT when executing
>that certain SYSTEM command which leads to a freeze.
>
>The processing table has many calls to the SYSTEM command.  Some start
>another rclerk or an rreport, some run "pcl2pdf" or some other Unix
>binary or script. The one that fails has this shape:
>
>   system "<textfile mutt -a attachment1 attachment2 -- email at place.com"

I would probably put that command in a script, adding some
debugging, perhaps something like this:

#!/bin/sh
# mycmd.sh textfile attachment1 attachment2 addr
env > /tmp/myenv.$USER
stty -a >> /tmp/myenv.$USER
mutt -a $2 $3 -- $4 < $1
exit

Run this as a user that works and one that doesn't, then compare
the /tmp/myenv.* files.

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

The men the American people admire most extravagantly are the
most daring liars; the men they detest most violently are those
who try to tell them the truth. -- H.L. Mencken


More information about the Filepro-list mailing list