|
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
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 |