GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RANPWD (1)

NAME

ranpwd - generate random passwords

CONTENTS

Synopsis
Description
     Options
     Author

SYNOPSIS

ranpwd [options] [length]

DESCRIPTION

ranpwd generates random passwords. On Linux, it will use the kernel-based true random number generator to generate cryptographically secure passwords.

If length is not given, it defaults to 8 characters unless specified below.

    OPTIONS

--ascii
  Allow any printable ASCII character except space. This is the default.
-a , --alphanum
  Generate mixed-case alphanumeric passwords.
-l , --alphanum --lower
  Generate lower-case alphanumeric passwords.
-u , --alphanum --upper
  Generate upper-case alphanumberic passwords.
-A , --alpha
  Generate mixed-case alphabetic passwords.
-L , --alpha --lower
  Generate lower-case alphabetic passwords.
-U , --alpha --upper
  Generate upper-case alphabetic passwords.
-x , --hexadecimal --lower
  Generate lower-case hexadecimal numbers.
-X , --hexadecimal --upper
  Generate upper-case hexadecimal numbers.
-d , --decimal
  Generate decimal numbers.
-o , --octal
  Generate octal numbers.
-b , --binary
  Generate a bit string (for Bynar sabotage teams.)
-i , --ip Generate a random IP suffix (normally used with a 169.254. prefix). The first octet cannot be 0 or 255. The default is two octets.
-m , --mac-address Generate a random MAC address. The first octet must have the multicast bit clear, and the local bit set. The default is six octets.
-M , --mac-address --upper Generate an upper case MAC address.
-s , --secure
  On systems which have /dev/random support, use /dev/random to generate passwords rather than /dev/urandom. This is more secure, but may be slower, as the process will block rather than degrade to a PRNG if true random numbers are temporarily unavailable. Using -s on a system without /dev/random support results in an error message.
-c , --c For octal numbers, preceed with 0; for hexadecimal numbers, preceed with 0x; for decimal numbers, strip leading zeros; for all others, enclose in double quotes and \-escape quotes and backslashes if present in the output. This will ensure that the output is always a valid C language constant. The length parameter on the command line is always number of significant digits, not the length of the output.

    AUTHOR

H. Peter Anvin <hpa@zytor.com>
Search for    or go to Top of page |  Section 1 |  Main Index


H. Peter Anvin RANPWD (1) 19 January 2008

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.