OT(sort of): Filepro running SCP via perl script

Bill Campbell bill at celestial.com
Tue Aug 5 11:44:01 PDT 2008


On Tue, Aug 05, 2008, Doug Luurs wrote:
>
>   I've been converting a LOT of our reports from paper to PDF/Copy to
>   Windows FileServer.
>
>
>
>   The below script runs great for us to copy .PDF / .XLS files created
>   by (SCO 6) filepro for normal level users.
>
>   My problem is .. If root attempts to run a report & copy the .PDF to
>   the FileServer, it crashs on the

My SWAG is that you are running into problems with root running
setuid or setgid scripts which don't work the same as other users
running the same scripts.

I would probably use rsync, not ssh, to make the transfers.
Using rsync modules allows one to make the transfers, restricting
them to specified directories, and restricting access by IP
address or CIDR blocks.  This eliminates the need to use ssh
authorized_keys with empty pass phrases or other hacks to avoid
having to deal with security (an oxymoron as you are using
Windows as the file server).

...
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

People from East Germany have found the West so confusing. It's so much
easier when you have only one party. -- Linus Torvalde, Linux Expo Canada
when asked about confusion over many Linux distributions.


More information about the Filepro-list mailing list