- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 02:47 AM
I have Enabled AAA authentication by below commands and after that successfully logged in on " user exec mode ". the problem is that still i am entering different password for "privilege mode" is it possible to use same password on " privilege mode " if a user has access on privilege level 5 then he can use same password rather than has different password to enter in privilege mode.
1- username testing password testing
2- AAA new-model
3- aaa authentication login default local
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 04:08 AM - edited 03-02-2019 04:18 AM
Hello
@concept-trainer.com wrote:
I have Enabled AAA authentication by below commands and after that successfully logged in on " user exec mode ". the problem is that still i am entering different password for "privilege mode" is it possible to use same password on " privilege mode " if a user has access on privilege level 5 then he can use same password rather than has different password to enter in privilege mode.
1- username testing password testing
2- AAA new-model
3- aaa authentication login default local
username xxxx privilege 15 secret xxxxx
username yyyy secret yyyy
enable secret zzzzz
aaa new-modal
aaa authentication login default local
aaa authorization exec default local if-authenticated
user xxxx - will be authenticated as priv 15 level no need to enter enable password
user yyyy - will be required to enter enable password to gain access
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 03:43 AM
Hello,
not sure what you mean exactly but if your user is logged in as a privilege 5 user, and you want to use the same password to get into exec mode, you would need to configure the same enable password:
aaa new-model
!
aaa authentication login default local
!
username admin privilege 5 password 0 cisco
!
enable password 0 cisco
!
line vty 0 4
login authentication default
transport input all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 04:09 AM
Hi,
I accessed my router via telnet with username "cisco" and password "cisco"
after that enable 15 with password "testing" i want to use same credentials with enable 15 as used above.
currently i have two different password one for telnet and second one for enable 15 level which need to resolve by above requirement.
need to know how it can be done.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 04:29 AM
Hello
You cannot have the same username with different privileges access if thats what your asking
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 04:08 AM - edited 03-02-2019 04:18 AM
Hello
@concept-trainer.com wrote:
I have Enabled AAA authentication by below commands and after that successfully logged in on " user exec mode ". the problem is that still i am entering different password for "privilege mode" is it possible to use same password on " privilege mode " if a user has access on privilege level 5 then he can use same password rather than has different password to enter in privilege mode.
1- username testing password testing
2- AAA new-model
3- aaa authentication login default local
username xxxx privilege 15 secret xxxxx
username yyyy secret yyyy
enable secret zzzzz
aaa new-modal
aaa authentication login default local
aaa authorization exec default local if-authenticated
user xxxx - will be authenticated as priv 15 level no need to enter enable password
user yyyy - will be required to enter enable password to gain access
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2019 04:27 AM
Hi Paul,
this is the correct commands which has resolved my issue thanks for your help and support as now same password is being used for line vty and privilege mode login.
Thanks again.
Regards,
Noor.
