問題
ローカルユーザーが設定済みのルーターで、ユーザーEXECから操作を始める。AAAによるenable認証は使わず、enable用の秘密をハッシュで保存したい。正しいコマンドの順序はどれか。
- A
enable configure terminal enable secret cisco123 exit - B
enable enable secret cisco123 configure terminal exit - C
configure terminal enable enable secret cisco123 exit - D
enable configure terminal service password-encryption exit
正解:A
理由
enableで特権EXEC、configure terminalでグローバル設定へ進み、enable secretで特権EXEC認証用の秘密を設定する。ローカルユーザーのログイン用パスワードとは別である。
選択肢ごとの説明
- A.
enable configure terminal enable secret cisco123 exit 特権EXECへ進んでグローバル設定に入り、enable secretを設定してから設定モードを抜ける。
- B.
enable enable secret cisco123 configure terminal exit enable secretはグローバル設定コマンドであり、configure terminalより前の特権EXECでは設定できない。
- C.
configure terminal enable enable secret cisco123 exit ユーザーEXECからconfigure terminalを開始できない。まずenableで特権EXECへ移る必要がある。
- D.
enable configure terminal service password-encryption exit service password-encryptionだけではenable secretを設定しない。Type7の可逆的な保存とハッシュによる秘密の保存は異なる。