Remove Password encryption

Answered Question
Jan 29th, 2008
User Badges:

Hi,


i have applied the following command in the config mode : service password-encryption


how can i remove it ? so that the passwords are no longer encrypted ?

Correct Answer by Collin Clark about 9 years 5 months ago

Andriy is correct. Since these are VTY passwords they must be removed then re-added. You could also reverse the password since these passwords have weak encryptions.

Correct Answer by Richard Burts about 9 years 5 months ago

Tarek


Collin has given exactly the right answer. But it may not seem that way when you apply the no service password-encryption command. Be aware that this command turns off password encryption. But that passwords that have been encrypted and stored in the config as encrypted will remain encrypted even when you turn off the service. The only way to get those passwords into clear text is to configure the passwords again after the service for encryption is turned off.


HTH


Rick

Correct Answer by bilousand about 9 years 5 months ago

Once encrypted passwords will stay so until you cancel encryption with no keyword AND enter them from command line again.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Collin Clark Tue, 01/29/2008 - 08:20
User Badges:
  • Purple, 4500 points or more

no service password-encryption


With most Cisco configurations, the no keyword removes the command.


HTH and please rate

majdalani Tue, 01/29/2008 - 08:30
User Badges:

Hi,


yep i know that, and i have tried that, but the password is still encrypted, i even type wr mem, closed the session, telnet to the swicth again, and it is still shown :


line vty 0 4

password 7 01100F074F

login

line vty 5 15

password 7 00071A0510

Correct Answer
bilousand Tue, 01/29/2008 - 08:31
User Badges:

Once encrypted passwords will stay so until you cancel encryption with no keyword AND enter them from command line again.

Correct Answer
Collin Clark Tue, 01/29/2008 - 08:33
User Badges:
  • Purple, 4500 points or more

Andriy is correct. Since these are VTY passwords they must be removed then re-added. You could also reverse the password since these passwords have weak encryptions.

Correct Answer
Richard Burts Tue, 01/29/2008 - 08:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Tarek


Collin has given exactly the right answer. But it may not seem that way when you apply the no service password-encryption command. Be aware that this command turns off password encryption. But that passwords that have been encrypted and stored in the config as encrypted will remain encrypted even when you turn off the service. The only way to get those passwords into clear text is to configure the passwords again after the service for encryption is turned off.


HTH


Rick

majdalani Tue, 01/29/2008 - 08:45
User Badges:

Hi , Thanks to all.


I have understand it now.



yep i change the password once again and the password appeared again.


Thanks again,

Tarek

Actions

This Discussion