Unencrypted local passwords in config?

Answered Question
Jun 21st, 2007
User Badges:

I hope this is the correct section to ask this question, I am setting up a new 2811 router (moving from a 2611). We have local usernames on the 2611 for authenticating ssh connections and some PPTP sessions. The passwords associated with the usernames are encrypted when viewing them with a sh run or in a config copied to tftp but on the new router the psswds. show as plain text. Is this because I do not yet have the aaa set up as it is on the old router? is there a better way to do this on the new router (locally, not authenticating to a second box)?

Correct Answer by Premdeep Banga about 9 years 10 months ago

Hi,


Give the command,


service password-encryption


on configure terminal.


This should encrypt the password of the account, so that its not visible.


Regards,

Prem

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Premdeep Banga Thu, 06/21/2007 - 06:28
User Badges:
  • Gold, 750 points or more

Hi,


Give the command,


service password-encryption


on configure terminal.


This should encrypt the password of the account, so that its not visible.


Regards,

Prem

dan.tesch Thu, 06/21/2007 - 07:11
User Badges:

Thanks, I will try that. How come this command does not appear in the config from my old router (2611 on 12.3 10)?


Is this a command that is issued and doesn't appear in the config after?

dan.tesch Thu, 06/21/2007 - 10:13
User Badges:

Thanks, I now see that line in the top of my old config.

Actions

This Discussion