makepasswd
Makepasswd generates (pseudo-)random passwords of a desired length.
It is able to generate its crypted equivalent.
Inspired from Rob Levin's perl script of the same name (which has no homepage, but can be found there for Debian).
It just needs GCC, make and your glibc headers to compile (I'm using linux, glibc 2.2.5 and gcc 3.2.1). Please submit information for other systems.
The program now uses the "crypt" library, which should be present on your system but may not be linked to by default. Try to run "make LDFLAGS="-l crypt" if compilation fails and mentions "crypt".
Should compile and run.
The following problem applies to 0.1.0 only, 0.1.1 compiles fine.
I had a problem compiling on Solaris as the echo command doesn't seem to support -e. I use it to write program version and name to config.h. Comment out the 7th line of the Makefile, and run this:
echo "#define PACKAGE \"makepasswd\"" > config.h echo "#define VERSION \"0.1.0\"" >> config.h
A user reported compilation is fine on OS X 10.2, though the install program doesn't support -D option (it should be safe to manually copy the program to /usr/local/bin). I think it's fixed in 0.1.1.
$ cvs -z3 -d :pserver:anonymous@cvs.defora.org:/Data/CVS co \
'DeforaOS/Apps/Unix/src/makepasswd/'