Technical wrote:
is it a fedora package?
I trried to use update but could not find it
use apt from freshrpms.net:
[root@home ~]# apt-get install expect
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
expect
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 183kB of archives.
After unpacking 329kB of additional disk space will be used.
Get:1 http://ayo.freshrpms.net fedora/linux/1/i386/core expect 5.39.0-93 [183kB]Fetched 183kB in 3s (53.4kB/s)
Committing changes...
Preparing... ########################################### [100%]
1:expect ########################################### [100%]
Done.
then mkpasswd is installed:
[chrid@home ~]$ mkpasswd -l 6 -c 2 -C 1 -s 0
iv31vZ
Chris