Random Password Generator

Files:

  1. RPASSWD.zip - All three files below in a single zip file
  2. NET.BAT - DOS batch file to simulate the 'net user' command
  3. RPASSWD.C - Source code for RPASSWD
  4. RPASSWD.EXE - Executable file

Synopsis:

Intended to be used to change user account passwords to random strings. If you use it in test mode it will just print a password and exit. You can easily incorporate it into a script to generate lists of random passwords if that's what you desire.
This is not compatible with 64-bit operating systems. It was compiled in 2006, using Pacific C Compiler (v7.51) in FreeDOS.

Examples:

rpasswd larry
Changes larry's password to a random string based on default settings. Works good if you don't want larry to login and don't want to disable his account.

rpasswd -tULNSulns 8
Prints an eight character password that has at least one Uppercase letter, one lowercase letter, one number, and one special character. Does not change anyones password in test mode.

rpasswd -tULNSEuuulllnnnsss 15
Prints a fifteen character password that has at least three of each character set (upper, lower, number, and special). Also, includes some "extra-special" characters that may cause problems with some operating systems.

Copyright:

Source code is protected by copyright. Please contact me if you wish to modify or redistribute this program.