Changes

From SME Server
Jump to navigationJump to search
m
WIP
Line 2: Line 2:     
== About ==
 
== About ==
This contrib provides a new shell command called '''randpw''', which is a ''Random Strong Password Generator''. '''randpw''' can generate strong passwords of any given length based on a randomized set of ASCII characters and symbols.
+
This contrib provides a new shell command/tool called '''randpw''', which is a ''Random Strong Password Generator''. '''randpw''' can generate strong passwords of any given length based on a randomized set of ASCII characters and symbols.
 
   
 
   
    
== Installation ==
 
== Installation ==
To enhance the ''randomize'' functionality factor of the ''randpw'' an additional RPM from the '''[[epel]]'' repository is required. Please see [[epel|'''these''']] instructions on how to enable the epel repository.
+
To enhance the ''randomize'' functionality of the ''randpw'' an additional RPM from the '''[[epel]]'' repository is required. Please see [[epel|'''these''']] instructions on how to enable the epel repository.
    
Currently the randpw RPM is available from the xxx repository, and this repository should be enabled. Please see here on how to enable the xxx repository.
 
Currently the randpw RPM is available from the xxx repository, and this repository should be enabled. Please see here on how to enable the xxx repository.
Line 18: Line 18:  
= For SME 9=
 
= For SME 9=
 
To install ''randpw'' and it's dependencies issue the following command as root:
 
To install ''randpw'' and it's dependencies issue the following command as root:
  yum install randpw --enablerepo=epel,xxx
+
  yum install randpw haveged --enablerepo=epel,xxx
 
<headertabs/>
 
<headertabs/>
   Line 25: Line 25:     
== Usage ==
 
== Usage ==
The ''randpw'' requires an positive number argument. This number stands for the length of the to be generated password. Although any positive number can be given, a sensible length for a password should be considered. e.g. SME user passwords have a minimum length of 7 and the MySQL root password has a length of 70. Obviously a user password length is limited to what is humanly reasonable to remember, where as automated mechanisms that require a password, such as site to site VPN connections or the above MySQL example, can have longer, and thus stronger, passwords.
+
The ''randpw'' command requires an positive number argument. This number stands for the length of the to be generated password. Although any positive number can be given, a sensible length for a password should be considered. e.g. SME user passwords have a minimum length of 7 and the MySQL root password has a length of 70. Obviously a user password length is limited to what is humanly reasonable to remember, where as automated mechanisms that require a password, such as site to site VPN connections or the above MySQL example, can have longer, and thus stronger, passwords.
    
Syntax:
 
Syntax:

Navigation menu