Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > trouble changing enable password

Reply
Thread Tools

trouble changing enable password

 
 
gselser
Guest
Posts: n/a
 
      08-22-2006
I have a cisco 1601 router that I want to change the enable password
on. I know the current enable password. When I go into config t mode I
type in "enable password <the new password>". I exit with ctrl z and
write mem. When I logout and log back in I have to still use the old
password, the new one will not work. I am not sure what I am doing
wrong here. The only other thing is that I have the service
password-encryption turned on, could this be causing the problem and if
so what do I need to do to fix it. Any help or suggestions will be
appreciated.
Thanks
Glenn

 
Reply With Quote
 
 
 
 
James
Guest
Posts: n/a
 
      08-22-2006

gselser wrote:
> I have a cisco 1601 router that I want to change the enable password
> on. I know the current enable password. When I go into config t mode I
> type in "enable password <the new password>". I exit with ctrl z and
> write mem. When I logout and log back in I have to still use the old
> password, the new one will not work. I am not sure what I am doing
> wrong here. The only other thing is that I have the service
> password-encryption turned on, could this be causing the problem and if
> so what do I need to do to fix it. Any help or suggestions will be
> appreciated.
> Thanks
> Glenn


Is there also an "enable secret" command in the config?

If so try:-

conf t
no enable password
enable secret <the new password>

James

 
Reply With Quote
 
 
 
 
Rainer Temme
Guest
Posts: n/a
 
      08-22-2006
James wrote:
>> enable password <the new password>


> conf t
> no enable password
> enable secret <the new password>


I think the enable secret should be preferred because
its not easily decodable.

but forms have a number before the actual password (IIRC)

enable secret 0 <the_password_in_clear_text>

or

enable password 0 <the_password_in_clear_text>

Rainer
 
Reply With Quote
 
gselser
Guest
Posts: n/a
 
      08-22-2006

James wrote:
> gselser wrote:
> > I have a cisco 1601 router that I want to change the enable password
> > on. I know the current enable password. When I go into config t mode I
> > type in "enable password <the new password>". I exit with ctrl z and
> > write mem. When I logout and log back in I have to still use the old
> > password, the new one will not work. I am not sure what I am doing
> > wrong here. The only other thing is that I have the service
> > password-encryption turned on, could this be causing the problem and if
> > so what do I need to do to fix it. Any help or suggestions will be
> > appreciated.
> > Thanks
> > Glenn

>
> Is there also an "enable secret" command in the config?
>
> If so try:-
>
> conf t
> no enable password
> enable secret <the new password>
>
> James

Yes I think there is a enable secret password. What is the difference
between the enable and secret password or are they the same?
Also is it okay to keep the service password-encryption on?
Glenn

 
Reply With Quote
 
AM
Guest
Posts: n/a
 
      08-22-2006
gselser wrote:

> James wrote:


> Yes I think there is a enable secret password. What is the difference
> between the enable and secret password or are they the same?


"enable secret" stores the password in a way that can not be decrypted.
It wins over "enable password" as method that allows access to privilege mode. So you were changing something that
wasn't used when authoriziting you to the privilege mode.

> Also is it okay to keep the service password-encryption on?


Yes of course, even if the encryption algorithm is very weak. Can be decrypted in few milliseconds.

HTH

Alex.
 
Reply With Quote
 
Sam Wilson
Guest
Posts: n/a
 
      08-22-2006
In article < .com>,
"gselser" <> wrote:

> Yes I think there is a enable secret password. What is the difference
> between the enable and secret password or are they the same?
> Also is it okay to keep the service password-encryption on?


enable password is stored either in clear or in a reversible
"encryption"[1] noted by a prefix of 7[2] if "service
password-encryption" is set. enable secret is stored as an MD5 hash
(prefix 5), which you might be able to reverse but it will take you some
effort.

If there's an enable secret the router will use it, if not it will fall
back to enable password. There used to be situations where you needed
both but I don't suppose there are many cases now.

Sam

[1] At one point Cisco used to refer to it as "obscured" rather than
"encrypted" - there are several trivial password decryptors around.

[2] A correspondent on a Cisco mailing list once asked why his password
didn't work - it turned out it began with the name of a well known soft
drink and even though password encryption wasn't set when the router
read the config it saw the initial "7 up" and tried to decrypt the rest
of the plain text password.
 
Reply With Quote
 
gselser
Guest
Posts: n/a
 
      08-22-2006
Thank you all very much. This is the faster group discussion I have
ever worked with.
You responses and solutions both solved the problem and were
informative
Thanks Again
Glenn
Sam Wilson wrote:
> In article < .com>,
> "gselser" <> wrote:
>
> > Yes I think there is a enable secret password. What is the difference
> > between the enable and secret password or are they the same?
> > Also is it okay to keep the service password-encryption on?

>
> enable password is stored either in clear or in a reversible
> "encryption"[1] noted by a prefix of 7[2] if "service
> password-encryption" is set. enable secret is stored as an MD5 hash
> (prefix 5), which you might be able to reverse but it will take you some
> effort.
>
> If there's an enable secret the router will use it, if not it will fall
> back to enable password. There used to be situations where you needed
> both but I don't suppose there are many cases now.
>
> Sam
>
> [1] At one point Cisco used to refer to it as "obscured" rather than
> "encrypted" - there are several trivial password decryptors around.
>
> [2] A correspondent on a Cisco mailing list once asked why his password
> didn't work - it turned out it began with the name of a well known soft
> drink and even though password encryption wasn't set when the router
> read the config it saw the initial "7 up" and tried to decrypt the rest
> of the plain text password.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
How to enable people to pay me....(enable credit card payments in my web app) Patrick ASP .Net 1 11-10-2005 11:07 AM
Initial enable password for 805? (Newbie) Edwin Schulze Cisco 2 01-18-2005 06:10 PM
question about resetting enable and access password Jeremy Cisco 1 11-13-2003 07:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57