-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We have a > template with a fixed hostname that has to be changed after the template is > closed. It would be useful to have a hostname generated randomly. >
Hi Peter, You could use the security/makepasswd port like so: # makepasswd --chars=8 xRVoqtQa You can also constrain the characters used for the hostname with the - --string option. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLoWIo0sRouByUApARAsmVAJwOtmcAaZQusmgdkNlI/cF4ihOQawCgj9W/ 3UKGgSc9FZ0DEIJvQQ6mCJE= =p5i/ -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
