I created a new user ( config below) that i want only priv level to be active on ssh login But when i ssh into box the user has 15 or 1. When i remove pri 15 in vty 0 15
then admin is asked for en password. how to i make it so when admin logs in it has 15 and when user jes logs in get 5?
username tert privilege 15 password 7 0509140057452A49401D16574574571C04
username admin privilege 15 password 7 0847422451E11105D75474575470F1D
username jes privilege 5 password 7 12130044410254764574570F05
aaa new-model
!
!
aaa authentication login default local
privilege interface level 5 switchport
privilege interface level 5 description
privilege configure level 5 interface
privilege exec level 5 configure terminal
privilege exec level 5 configure
privilege exec level 5 show vlan
privilege exec level 5 show running-config
privilege exec level 5 show
line con 0
access-class sshaccess in
privilege level 15
password 7 01100F54430255656E172E
logging synchronous
line vty 0 4
session-timeout 35791
timeout login response 300
privilege level 15
transport input ssh
line vty 5 15
session-timeout 35791
timeout login response 300
privilege level 15
transport input ssh
then admin is asked for en password. how to i make it so when admin logs in it has 15 and when user jes logs in get 5?
username tert privilege 15 password 7 0509140057452A49401D16574574571C04
username admin privilege 15 password 7 0847422451E11105D75474575470F1D
username jes privilege 5 password 7 12130044410254764574570F05
aaa new-model
!
!
aaa authentication login default local
privilege interface level 5 switchport
privilege interface level 5 description
privilege configure level 5 interface
privilege exec level 5 configure terminal
privilege exec level 5 configure
privilege exec level 5 show vlan
privilege exec level 5 show running-config
privilege exec level 5 show
line con 0
access-class sshaccess in
privilege level 15
password 7 01100F54430255656E172E
logging synchronous
line vty 0 4
session-timeout 35791
timeout login response 300
privilege level 15
transport input ssh
line vty 5 15
session-timeout 35791
timeout login response 300
privilege level 15
transport input ssh