02-19-2008 06:56 PM - edited 03-03-2019 08:47 PM
enable secret 5 enable
!
username admin privilege 15 password 0 admin
username guest privilege 5 password 0 guest
username 123 password 123
privilege exec level 15 enable
privilege exec level 5 reload
privilege exec level 5 show tech-support
privilege exec level 5 show startup-config
privilege exec level 5 show running-config
!
line con 0
password console
login local
transport input none
line vty 0 4
password telnet
login local
I can't use 123 username to login to privilege mode, is it correct ?
Username: 123
Password:
Router>e?
exit
When I use guest account to login and issue " show running-config" Just show little config. Why not the whole config ?
Username: guest
Password:
Router#show running-config
Building configuration...
Current configuration : 51 bytes
!
boot-start-marker
boot-end-marker
!
!
end
02-19-2008 08:50 PM
HI, [pls rate if helps]
Username: 123
>> It is not associated with any privilege levels. So, enable access will be restricted for the user.
Username: guest
password:
>> Issue the below command:
Router#show prvilege
>> Verify the Output
!! Note the default privilege level for enable commmand is level 15
PLS RATE if HELPS
Best Regards,
Guru Prasad R
02-19-2008 08:56 PM
02-19-2008 09:00 PM
Hi,
1/ I am not sure why user 123 can not login eanble mode.
2/ user guest only can watch configuration that guest can config, because guest do not have enough privilege to config sth, so guest look at nothing.
regards
dongdong
02-19-2008 09:00 PM
This behavior is by design. Please refer the below URL for details:
http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800949d5.shtml
Also, you may want to look at Role-Based CLI Access as a possible solution.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_7/gtclivws.htm
Regards,
Arul
** Please rate all helpful posts **
02-19-2008 09:43 PM
hi all
i know,
with "username 123 password 123", user 123 only have a default privilege 1 and login "enable mode" need 15 privilege on that router, so...
thanks for your link,i am happy to rate...
dongdong
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: