ranpwd man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

RANPWD(1)							     RANPWD(1)

NAME
       ranpwd - generate random passwords

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, pre‐
	      ceed  with 0x; for decimal numbers, strip leading zeros; for all
	      others, enclose in double quotes and \-escape quotes  and	 back‐
	      slashes  if  present  in	the output.  This will ensure that the
	      output is always a valid C language constant.  The length param‐
	      eter on the command line is always number of significant digits,
	      not the length of the output.

   AUTHOR
       H. Peter Anvin <hpa@zytor.com>

H. Peter Anvin			19 January 2008			     RANPWD(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net