特権モードパスワードを未設定に戻すコマンドはありますか?

  • フォーラムは新サイトへ移行しました。
  • このフォーラムではゲスト投稿が禁止されています
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2013-11-25 11:59
zorome  半人前   投稿数: 8
単に仕組みを知っておきたいということで、困っている訳ではないのですが、
特権モードのパスワードは、一旦設定した場合、未設定状に戻すコマンドはありますか?
あるいはsecretで設定した場合、secretを未設定に戻すコマンドはありますか?
もちろんその時点のパスワードは分かっているものとします。

忘れてしまって特殊操作で回復するというのではなく、未設定状態に戻すということです。
またもしsecretに方法があった場合、
未設定にするとsecretでないもの(設定があった場合)は復活するのでしょうか?
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2013-11-25 15:00
arashi1977  長老 居住地: 広島  投稿数: 1715
引用:
特権モードのパスワードは、一旦設定した場合、未設定状に戻すコマンドはありますか?
あるいはsecretで設定した場合、secretを未設定に戻すコマンドはありますか?
もちろんその時点のパスワードは分かっているものとします。
さて、Cisco IOS Security Command Reference - E [Support] - Cisco Systemsのenable passwordおよびenable secretの構文見てみたら
 enable password

To set a local password to control access to various privilege levels, use the enable password command in global configuration mode. To remove the password requirement, use the no form of this command.

enable password [level level] {password | [encryption-type] encrypted-password}

no enable password [level level] 

 To specify an additional layer of security over the enable password command, use the enable secret command in global configuration mode. To turn off the enable secret function, use the no form of this command.
enable secret [level level] {password | 0 | 4 | 5 [encryption-type] encrypted-password }

no enable secret [level level] {password | 0 | 4 | 5 [encryption-type] encrypted-password } 
とあるので、noで消すだけでいいんじゃないかと思いますけど。
そういう話ではない?
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2013-11-27 13:54
zorome  半人前   投稿数: 8
ご回答有難うございました。
英語は得意ではないのですが、頂いた英文に、

no enable password
no enable secret

がありましたので、googleで

シスコ "no enable password"
シスコ "no enable secret"

を検索すると説明が見つかりました。
細かい動作は調べませんがこの種のコマンドがあることが分かりました。
すっきりしました。
ありがとうございました。

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







Contact

LPI-Japan Logo

LPI Logo