I'm trying to do encryption in Expect as outlined in this wiki on Ubuntu 16.04. I've installed tcllib
root@alarmux:/home/abdmin# apt-get install tcllib Reading package lists... Done Building dependency tree Reading state information... Done tcllib is already the newest version (1.17-dfsg-1). 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
However, when I run my script I get:
couldn't execute "des": no such file or directory while executing "exec echo "$pd" | des -e -k $key -b > /home/abdmin/$filename" (procedure "utility_encrypt" line 3) invoked from within "utility_encrypt pswd encrypted_Pass" (file "./tclTest" line 22)
Why can't the
des command be executed?