Anybody else noticed that the Solaris 'crypt' command isn't in common use in the Linux community?
This proved to be an issue for me a little while back while transferring some data between companies and systems. Fortunately a quick visit to OpenSolaris provided the source, which only required a small modification in order to allow it to be compiled for use under Linux..
67c67
< ret = des_crypt(buf, &buf[8]);
---
> ret = crypt(buf, &buf[8]);
Yet another advantage to Solaris being open-sourced...

0 Trackbacks