Login/Password Encryption Utility

Top  Previous  Next

The encrypt_logins utility provides a method to encrypt the password file if the GUI is not available. A password file must be used in environments where passwords are not the same for all routers.  If the passwords are the same for all routers, the scripts can be run without the “-pw” option and the script will then prompt the user to enter the password.  This is also needed if the scripts will be launched automatically with cron or through MS Windows' scheduler.

 

Program Name: encrypt_logins

 

Script Argument

Description

-if <filename>

Input File.  Un-encrypted Password File (REQUIRED)

-nokey

Using this option creates the encrypted password file in a way that the key does not need to entered when another script uses this encrypted password file.  Only use this option if you wish to start any of the scripts in batch mode using the cron utility.

-log <filename>

Save detailed trace file to a name other than the default file name.  (OPTIONAL)

 

The script takes the un-encrypted password file and encrypts it.  When the script is run, the user must enter an encryption key that must be at least 6 characters long.  This same encryption key will need to be entered when running any of the other scripts and using an encrypted file with the -pw <filename> option.    Below shows an example of running the script:

 

[allan]$ ./encrypt_logins -if logins.txt -of encrypted_logins.txt
 
*******************************************************
* For more information about Script Automation
* or support issues, contact Technical Support
* E-mail: support@net-sense.com
*******************************************************
 
Please enter encryption key. You have 90 seconds
 
 
 
[asilver@localhost tcl]$