damian has asked for the wisdom of the Perl Monks concerning the following question:

i have this two boxes a BSD and a SUN Solaris. my prolem is that BSD does not have a crypt program unlike SunOS. i really need this crypt program so that my script will work. now the reason that i need my script running on BSD, it's because i have some important information stored on it that my script reads. i'm thinking if there's such a way that my script running on a BSD can call and execute the /bin/crypt on a remote SUN server? thanks in advance

Replies are listed 'Best First'.
Re: Executing a remote file
by lhoward (Vicar) on May 17, 2000 at 15:14 UTC
    If you really care about the security of your data you won't use crypt. From a cryptographic point-of-view it is extremely easy to hack. You'd be better off writing a little perl encryption/decryption utility using one of the Crypt modules that you would put on both the SUN and BSD box.
Re: Executing a remote file
by t0mas (Priest) on May 17, 2000 at 12:33 UTC
    Try to download and compile the ufc-crypt program. Some *nix don't ship crypt due to US export restrictions.
    You find ufc-crypt at cert.unisa.it/pub/Tools/Password/ufc-crypt/
    I don't know if you are allowed to use it in your country, so don't blame me if you get into trouble...
    /t0mas
Re: Executing a remote file
by Anonymous Monk on May 18, 2000 at 03:58 UTC
    If you can arrange rsh access, then u can always:
    $crypted = `rsh sunbox /bin/crypt $value`;